Pagini recente » Borderou de evaluare (job #1798557) | Borderou de evaluare (job #1918381) | Borderou de evaluare (job #2302906) | Borderou de evaluare (job #1146878) | Borderou de evaluare (job #1817384)
Borderou de evaluare (job #1817384)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(in, "%d", &a);
^
user.cpp:14:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(in, "%d", &b);
^
user.cpp:15:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(out, "%d", (a + b));
^
user.cpp:13:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &a);
^
user.cpp:14:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
7 | 0ms | 260kb | Okay! | 10 | 40 |
8 | 0ms | 264kb | Okay! | 10 |
9 | 0ms | 264kb | Okay! | 10 |
10 | 0ms | 264kb | Okay! | 10 |
1 | 0ms | 260kb | Okay! | 10 | 30 |
2 | 0ms | 264kb | Okay! | 10 |
3 | 0ms | 268kb | Okay! | 10 |
4 | 0ms | 264kb | Okay! | 10 | 30 |
5 | 0ms | 260kb | Okay! | 10 |
6 | 0ms | 272kb | Okay! | 10 |
Punctaj total | 100 |