Submission #1006720

#TimeUsernameProblemLanguageResultExecution timeMemory
1006720ALTAKEXEParrots (IOI11_parrots)C++17
0 / 100
1 ms1304 KiB
#include <bits/stdc++.h> using namespace std; void send(int a); void encode(int N, int M[]) { int i; for (i = 0; i < N; i++) send(M[i] + i); }
#include <bits/stdc++.h> using namespace std; void output(int b); void decode(int N, int L, int X[]) { sort(X, X + L); int i, b; for (i = 0; i < L; i++) output(X[i]); }

Compilation message (stderr)

decoder.cpp: In function 'void decode(int, int, int*)':
decoder.cpp:7:10: warning: unused variable 'b' [-Wunused-variable]
    7 |   int i, b;
      |          ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...