Pagini recente »
Borderou de evaluare (job #764743)
|
Borderou de evaluare (job #782331)
|
Borderou de evaluare (job #694526)
|
Borderou de evaluare (job #5855)
|
Borderou de evaluare (job #747717)
Borderou de evaluare (job #747717)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | freopen("2numere.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:31:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
31 | freopen("2numere.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:60:19: warning: 'n1' may be used uninitialized [-Wmaybe-uninitialized]
60 | cout << n1 << '\n' << n2 << '\n' << ans;
| ^~~~
main.cpp:44:20: note: 'n1' was declared here
44 | int ans = INF, n1, n2;
| ^~
main.cpp:60:33: warning: 'n2' may be used uninitialized [-Wmaybe-uninitialized]
60 | cout << n1 << '\n' << n2 << '\n' << ans;
| ^~~~
main.cpp:44:24: note: 'n2' was declared here
44 | int ans = INF, n1, n2;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
a) linie incorecta; b) linie incorecta; c) OK
|
0
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
a) linie incorecta; b) linie incorecta; c) OK
|
0
|
5
|
1 ms
|
245 kb
|
a) linie incorecta; b) linie incorecta; c) OK
|
0
|
6
|
109 ms
|
1032 kb
|
Time limit exceeded
|
0
|
7
|
109 ms
|
507 kb
|
Time limit exceeded
|
0
|
8
|
109 ms
|
1822 kb
|
Time limit exceeded
|
0
|
9
|
99 ms
|
2342 kb
|
Memory limit exceeded
|
0
|
10
|
109 ms
|
507 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
20
|