Submission #1000502

#TimeUsernameProblemLanguageResultExecution timeMemory
1000502onbertJail (JOI22_jail)C++17
0 / 100
1 ms348 KiB
#include <bits/stdc++.h> using namespace std; #define int long long signed main() { ios::sync_with_stdio(0); cin.tie(0); int a[2]; cout << a[1000000] << endl; }

Compilation message (stderr)

jail.cpp: In function 'int main()':
jail.cpp:7:22: warning: array subscript 1000000 is above array bounds of 'long long int [2]' [-Warray-bounds]
    7 |     cout << a[1000000] << endl;
      |                      ^
jail.cpp:6:9: note: while referencing 'a'
    6 |     int a[2];
      |         ^
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...