Problem sum
User Xrh999
Submission Time 2025-12-22 11:44:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sum.cpp:1:2: error: stray ‘#’ in program
1 | a#include "bits/stdc++.h"
| ^
sum.cpp:1:1: error: ‘a’ does not name a type
1 | a#include "bits/stdc++.h"
| ^
sum.cpp: In function ‘int main()’:
sum.cpp:5:2: error: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
| ^~~~~~~~
sum.cpp:5:32: error: ‘cin’ was not declared in this scope
5 | ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
| ^~~
sum.cpp:5:44: error: ‘cout’ was not declared in this scope
5 | ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
| ^~~~
sum.cpp:7:5: error: ‘scanf’ was not declared in this scope
7 | scanf("%lld", &n);
| ^~~~~
sum.cpp:13:5: error: ‘printf’ was not declared in this scope
13 | printf("%lld %lld\n", x, y);
| ^~~~~~
sum.cpp:1:1: not