Pagini recente » Borderou de evaluare (job #1366399) | Borderou de evaluare (job #1367543) | Borderou de evaluare (job #2734720) | Borderou de evaluare (job #2871356) | Borderou de evaluare (job #1531872)
Borderou de evaluare (job #1531872)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
char x; scanf("%d", &x);
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trenul.in", "r", stdin);
^
user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trenul.out", "w", stdout);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:21:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
char x; scanf("%d", &x);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 288kb | Corect | 10 |
✓ | 2 | 0ms | 340kb | Corect | 10 |
✓ | 3 | 8ms | 336kb | Corect | 10 |
✓ | 4 | 16ms | 528kb | Corect | 10 |
✓ | 5 | 32ms | 792kb | Corect | 10 |
✓ | 6 | 40ms | 1056kb | Corect | 10 |
✓ | 7 | 36ms | 792kb | Corect | 10 |
✓ | 8 | 40ms | 1056kb | Corect | 10 |
✓ | 9 | 44ms | 1320kb | Corect | 10 |
✓ | 10 | 40ms | 1056kb | Corect | 10 |
Punctaj total | 100 |