Pagini recente »
Borderou de evaluare (job #413409)
|
Borderou de evaluare (job #468795)
|
Borderou de evaluare (job #728278)
|
Borderou de evaluare (job #799187)
|
Borderou de evaluare (job #621944)
Borderou de evaluare (job #621944)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
30 | scanf("%d",n);
| ~^ ~
| | |
| | int
| int*
main.cpp:27:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | freopen("nrcuv.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:28:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
28 | freopen("nrcuv.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:30:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | scanf("%d",n);
| ~~~~~^~~~~~~~
main.cpp:30:10: warning: 'n' is used uninitialized [-Wuninitialized]
30 | scanf("%d",n);
| ~~~~~^~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
2
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
3
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
4
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
6
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
7
|
2 ms
|
131 kb
|
Killed by Signal 11
|
0
|
8
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
9
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
10
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
0
|