(UPD: 2024-12-04 14:48 UTC) Judge is not working due to Cloudflare incident. (URL) We can do nothing about it, sorry. After the incident is resolved, we will grade all submissions.

제출 #1114182

#제출 시각아이디문제언어결과실행 시간메모리
1114182TrunktyMemory (IOI10_memory)C++14
50 / 100
49 ms516 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; void play() { /* int i; char a, b; for (i=0; i<10; ++i) { a = faceup(42); b = faceup(47); } */ for(int i=1;i<=50;i++){ for(int j=i+1;j<=50;j++){ int a = faceup(i); int b = faceup(j); } } }

컴파일 시 표준 에러 (stderr) 메시지

memory.cpp: In function 'void play()':
memory.cpp:17:17: warning: unused variable 'a' [-Wunused-variable]
   17 |             int a = faceup(i);
      |                 ^
memory.cpp:18:17: warning: unused variable 'b' [-Wunused-variable]
   18 |             int b = faceup(j);
      |                 ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...