Pagini recente » Borderou de evaluare (job #581196) | Borderou de evaluare (job #2434099) | Borderou de evaluare (job #1031742) | Borderou de evaluare (job #1375426) | Borderou de evaluare (job #1371075)
Borderou de evaluare (job #1371075)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:99:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘ll* {aka long long int*}’ [-Wformat=]
fscanf(in, "%I64d", &x);
^
user.cpp:120:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ll {aka long long int}’ [-Wformat=]
fprintf(out, "%d", sumNew - sumInit);
^
user.cpp:97:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.cpp:99:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%I64d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 16084kb | OK | 10 |
2 | 248ms | 16080kb | Incorect | 0 |
3 | 32ms | 16076kb | Incorect | 0 |
4 | 44ms | 16084kb | Incorect | 0 |
5 | 236ms | 16076kb | Incorect | 0 |
6 | 244ms | 16080kb | Incorect | 0 |
7 | 236ms | 16080kb | Incorect | 0 |
8 | 244ms | 16080kb | Incorect | 0 |
9 | 244ms | 16084kb | Incorect | 0 |
10 | 252ms | 16076kb | Incorect | 0 |
Punctaj total | 10 |