Pagini recente » Borderou de evaluare (job #2702827) | Borderou de evaluare (job #2879721) | Cod sursa (job #1925347) | Borderou de evaluare (job #1222107) | Borderou de evaluare (job #2142167)
Borderou de evaluare (job #2142167)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:18:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tipuri[i]);
^
user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:27:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tmp[j]);
^
user.cpp: In function ‘int main()’:
user.cpp:101: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:102: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:128:11: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d", solve(sol), sol);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1136kb | OK | 10 |
| 2 | 4ms | 1228kb | OK | 10 |
| 3 | 0ms | 1112kb | OK | 10 |
| 4 | 48ms | 1188kb | OK | 10 |
| 5 | 4ms | 1152kb | OK | 10 |
| 6 | 68ms | 1304kb | OK | 10 |
| 7 | 96ms | 1212kb | OK | 10 |
| 8 | 0ms | 1100kb | OK | 10 |
| 9 | 0ms | 912kb | OK | 10 |
| 10 | 8ms | 1116kb | OK | 10 |
| Punctaj total | 100 |