Pagini recente » Borderou de evaluare (job #1805171) | Monitorul de evaluare | Borderou de evaluare (job #2243639) | Borderou de evaluare (job #2243625) | Borderou de evaluare (job #2253125)
Borderou de evaluare (job #2253125)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:75:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &friendly[i]);
^
user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in", "r", stdin);
^
user.cpp:70:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out", "w", stdout);
^
user.cpp:73:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:75:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &friendly[i]);
^
user.cpp:77:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:80:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &u, &v, &p, &c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1076kb | OK | 10 |
| 2 | 12ms | 1180kb | OK | 10 |
| 3 | 0ms | 1056kb | OK | 10 |
| 4 | 32ms | 1100kb | OK | 10 |
| 5 | 40ms | 1144kb | OK | 10 |
| 6 | 52ms | 1176kb | OK | 10 |
| 7 | 48ms | 1108kb | OK | 10 |
| 8 | 0ms | 1056kb | OK | 10 |
| 9 | 0ms | 932kb | OK | 10 |
| 10 | 4ms | 1056kb | OK | 10 |
| Punctaj total | 100 |