Pagini recente » Cod sursa (job #393341) | Monitorul de evaluare | Cod sursa (job #149652) | Borderou de evaluare (job #2482692) | Borderou de evaluare (job #2215999)
Borderou de evaluare (job #2215999)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &c[i]);
^
user.cpp:61:39: 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:62:41: 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:63:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:65:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i]);
^
user.cpp:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:70:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &A, &B, &T, &W);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1772kb | OK | 10 |
| 2 | 16ms | 2272kb | OK | 10 |
| 3 | 0ms | 1868kb | OK | 10 |
| 4 | 28ms | 2000kb | OK | 10 |
| 5 | 32ms | 2272kb | OK | 10 |
| 6 | 72ms | 2540kb | OK | 10 |
| 7 | 52ms | 2180kb | OK | 10 |
| 8 | 4ms | 1812kb | OK | 10 |
| 9 | 0ms | 1556kb | OK | 10 |
| 10 | 4ms | 1848kb | OK | 10 |
| Punctaj total | 100 |