Pagini recente » Borderou de evaluare (job #118812) | Borderou de evaluare (job #510941) | Borderou de evaluare (job #971496) | Borderou de evaluare (job #1216047) | Borderou de evaluare (job #1266640)
Borderou de evaluare (job #1266640)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(InAB, "%ld\n%ld", &a, &b);
^
user.cpp:16:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:18:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(OutAB, "%ld", sum);
^
user.cpp:16:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(InAB, "%ld\n%ld", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
7 | 0ms | 256kb | Okay! | 10 | 40 |
8 | 0ms | 256kb | Okay! | 10 |
9 | 0ms | 256kb | Okay! | 10 |
10 | 0ms | 256kb | Okay! | 10 |
1 | 0ms | 260kb | Okay! | 10 | 30 |
2 | 0ms | 260kb | Okay! | 10 |
3 | 0ms | 252kb | Okay! | 10 |
4 | 0ms | 256kb | Okay! | 10 | 30 |
5 | 0ms | 252kb | Okay! | 10 |
6 | 0ms | 260kb | Okay! | 10 |
Punctaj total | 100 |