Submission #678661

#TimeUsernameProblemLanguageResultExecution timeMemory
678661penguin133Memory (IOI10_memory)C++17
100 / 100
2 ms296 KiB
#include <bits/stdc++.h>
#include "memory.h"
#include "grader.h"
using namespace std;
//#define int long long
#define pi pair<int, int>
#define pii pair<int, pi>
#define fi first
#define se second
#ifdef _WIN32
#define getchar_unlocked _getchar_nolock
#endif
 
int X[505];
void play() {
   for(int i=1;i<=50;i++){
	   char x = faceup(i);
	   X[i] = x - 'A';
   }
   for(int i=0;i<26;i++){
	   for(int j=1;j<=50;j++){
		   if(X[j] == i){
			   char lmaolmaolmao = faceup(j);
		   }
	   }
   }
}

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:23:12: warning: unused variable 'lmaolmaolmao' [-Wunused-variable]
   23 |       char lmaolmaolmao = faceup(j);
      |            ^~~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...