Submission #1234488

#TimeUsernameProblemLanguageResultExecution timeMemory
1234488salmonCopy and Paste 3 (JOI22_copypaste3)C++20
0 / 100
0 ms324 KiB
#include <bits/stdc++.h> using namespace std; int t; int N; int M; int can[5100][5100]; int main(){ scanf(" %d",&t); while(t--){ scanf(" %d",&N); scanf(" %d",&M); for(int i = 1; i <= N; i++){ for(int j = 1; j <= N; j++){ can[i][j] = false; } } for(int i = 0; i < M; i++){ } } }

Compilation message (stderr)

copypaste3.cpp: In function 'int main()':
copypaste3.cpp:11:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   11 |         scanf(" %d",&t);
      |         ~~~~~^~~~~~~~~~
copypaste3.cpp:15:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   15 |                 scanf(" %d",&N);
      |                 ~~~~~^~~~~~~~~~
copypaste3.cpp:16:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   16 |                 scanf(" %d",&M);
      |                 ~~~~~^~~~~~~~~~
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...