Submission #1015584

#TimeUsernameProblemLanguageResultExecution timeMemory
1015584ByeWorldMemory (IOI10_memory)C++14
0 / 100
1 ms344 KiB
#include "grader.h" #include "memory.h" int val[55][2]; void play() { for(int i=1; i<=50; i++){ char x = faceup(i); int p = (int)(x-'a'); p++; if(val[p][0] != 0) val[p][1] = i; else val[p][0] = i; } for(int i=1; i<=50; i++){ char x = faceup(val[i][0]); char y = faceup(val[i][1]); } return; }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:13:8: warning: unused variable 'x' [-Wunused-variable]
   13 |   char x = faceup(val[i][0]);
      |        ^
memory.cpp:14:8: warning: unused variable 'y' [-Wunused-variable]
   14 |   char y = faceup(val[i][1]);
      |        ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...