Submission #632937

#TimeUsernameProblemLanguageResultExecution timeMemory
632937Minindu2006Memory (IOI10_memory)C++14
100 / 100
2 ms336 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; void play() { int i; char a, b; vector<int> arr[25]; for (i=1; i<=50; ++i) { int x = faceup(i) - 65; arr[x].push_back(i); } for(i=0;i<25;++i) { a = faceup(arr[i][0]); b = faceup(arr[i][1]); } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:7:9: warning: variable 'a' set but not used [-Wunused-but-set-variable]
    7 |    char a, b;
      |         ^
memory.cpp:7:12: warning: variable 'b' set but not used [-Wunused-but-set-variable]
    7 |    char a, b;
      |            ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...