Pagini recente » Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #3329714) | Monitorul de evaluare | Borderou de evaluare (job #1500430)
Borderou de evaluare (job #1500430)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &a);
^
user.cpp:8:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &b);
^
user.cpp:10:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d", a);
^
user.cpp:4:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adunare.in", "a+", stdin);
^
user.cpp:5:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adunare.out", "a+", stdout);
^
user.cpp:7:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
user.cpp:8:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 7 | 0ms | 228kb | 4544 != 0 | 0 | 0 |
| 8 | 0ms | 232kb | 14113 != 0 | 0 |
| 9 | 0ms | 232kb | 362 != 0 | 0 |
| 10 | 0ms | 228kb | 7646 != 0 | 0 |
| 1 | 0ms | 228kb | 3 != 0 | 0 | 0 |
| 2 | 0ms | 232kb | 6 != 0 | 0 |
| 3 | 0ms | 228kb | 14 != 0 | 0 |
| 4 | 0ms | 228kb | 444 != 0 | 0 | 0 |
| 5 | 0ms | 232kb | 1956 != 0 | 0 |
| 6 | 0ms | 228kb | 2000 != 0 | 0 |
| Punctaj total | 0 |