Borderou de evaluare (job #2731166)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:26: warning: format '%c' expects argument of type 'char*', but argument 4 has type 'int*' [-Wformat=]
scanf("%d %d %c",&x,&y,&c);
^
main.cpp:26:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("parb2.in","r",stdin);
^
main.cpp:27:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("parb2.out","w",stdout);
^
main.cpp:29:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
main.cpp:31:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %c",&x,&y,&c);
^
main.cpp:54:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 2752kb | OK | 5 |
2 | 8ms | 2752kb | OK | 5 |
3 | 8ms | 2752kb | OK | 5 |
4 | 8ms | 2752kb | OK | 5 |
5 | 1929ms | 16646kb | OK | 5 |
6 | 2146ms | 17276kb | OK | 5 |
7 | 2086ms | 17563kb | OK | 5 |
8 | 2221ms | 18087kb | OK | 5 |
9 | 2289ms | 18350kb | OK | 5 |
10 | 2391ms | 18743kb | OK | 5 |
11 | 2429ms | 19005kb | OK | 5 |
12 | 2462ms | 19398kb | OK | 5 |
13 | 2586ms | 19660kb | OK | 5 |
14 | 2636ms | 20185kb | OK | 5 |
15 | 2743ms | 20656kb | OK | 5 |
16 | 2802ms | 21102kb | OK | 5 |
17 | 3293ms | 21393kb | OK | 5 |
18 | 3271ms | 21680kb | OK | 5 |
19 | 3016ms | 22151kb | OK | 5 |
20 | 3091ms | 22675kb | OK | 5 |
Punctaj total | 100 |