Pagini recente » Cod sursa (job #471102) | Cod sursa (job #910208) | Cod sursa (job #283402) | Monitorul de evaluare | Borderou de evaluare (job #1526443)
Borderou de evaluare (job #1526443)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d %d", &a, &b);
^
user.cpp:16:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrcuv.on", "r", stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrcuv.out", "w", stdout);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:16:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 324kb | Incorect | 0 |
| 2 | 0ms | 328kb | Incorect | 0 |
| 3 | 0ms | 332kb | Incorect | 0 |
| 4 | 0ms | 332kb | Incorect | 0 |
| 5 | 0ms | 332kb | Incorect | 0 |
| 6 | 0ms | 324kb | Incorect | 0 |
| 7 | 0ms | 324kb | Incorect | 0 |
| 8 | 0ms | 332kb | Incorect | 0 |
| 9 | 0ms | 328kb | Incorect | 0 |
| 10 | 0ms | 324kb | Incorect | 0 |
| 11 | 0ms | 324kb | Incorect | 0 |
| 12 | 0ms | 328kb | Incorect | 0 |
| 13 | 0ms | 332kb | Incorect | 0 |
| 14 | 0ms | 328kb | Incorect | 0 |
| 15 | 0ms | 332kb | Incorect | 0 |
| 16 | 0ms | 328kb | Incorect | 0 |
| 17 | 0ms | 328kb | Incorect | 0 |
| 18 | 0ms | 332kb | Incorect | 0 |
| 19 | 0ms | 328kb | Incorect | 0 |
| 20 | 0ms | 324kb | OK | 5 |
| Punctaj total | 5 |