Submission #122286

# Submission time Handle Problem Language Result Execution time Memory
122286 2019-06-28T04:01:36 Z khulegub Aliens (IOI07_aliens) C++14
0 / 100
2 ms 384 KB
#include<bits/stdc++.h>



using namespace std;


int main(){
	int a = 12321039210, b =12392312312;
	for(int i = 0; i < 1000000000; i++){
		for(int j = 0; j < 10; j++){
			a++;
			b++;
		}
	}
	cout << a << b;
}

Compilation message

aliens.cpp: In function 'int main()':
aliens.cpp:9:10: warning: overflow in implicit constant conversion [-Woverflow]
  int a = 12321039210, b =12392312312;
          ^~~~~~~~~~~
aliens.cpp:9:26: warning: overflow in implicit constant conversion [-Woverflow]
  int a = 12321039210, b =12392312312;
                          ^~~~~~~~~~~
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 304 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 384 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 256 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 256 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 384 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 384 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 256 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 256 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 384 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 256 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -