Pagini recente » Borderou de evaluare (job #1311632) | Borderou de evaluare (job #778946) | Borderou de evaluare (job #30495) | Borderou de evaluare (job #2564045) | Borderou de evaluare (job #1371085)
Borderou de evaluare (job #1371085)
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:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ll {aka long long int}’ [-Wformat=]
fprintf(out, "%I64d", 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 | 16092kb | Incorect | 0 |
2 | 244ms | 16096kb | Incorect | 0 |
3 | 28ms | 16096kb | Incorect | 0 |
4 | 40ms | 16096kb | Incorect | 0 |
5 | 232ms | 16092kb | Incorect | 0 |
6 | 236ms | 16092kb | Incorect | 0 |
7 | 232ms | 16096kb | Incorect | 0 |
8 | 240ms | 16092kb | Incorect | 0 |
9 | 236ms | 16096kb | Incorect | 0 |
10 | 252ms | 16092kb | Incorect | 0 |
Punctaj total | 0 |