Pagini recente » Borderou de evaluare (job #2509721) | Infoarena Monthly 2014 - Runda 9, Solutii | Cod sursa (job #49098) | Cod sursa (job #95709) | Borderou de evaluare (job #2579215)
Borderou de evaluare (job #2579215)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:138:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("rascoala.in", "r", stdin);
^
main.cpp:139:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("rascoala.out", "w", stdout);
^
main.cpp:141:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &c, &n, &m, &k);
^
main.cpp:144:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
main.cpp:158:11: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n%d\n", cnt(ans), ans);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 29ms | 786kb | OK | 5 |
| 2 | 31ms | 917kb | OK | 5 |
| 3 | 49ms | 917kb | OK | 5 |
| 4 | 52ms | 1179kb | OK | 5 |
| 5 | 91ms | 1179kb | OK | 5 |
| 6 | 89ms | 1179kb | OK | 5 |
| 7 | 94ms | 1179kb | OK | 5 |
| 8 | 94ms | 1179kb | OK | 5 |
| 9 | 75ms | 1179kb | OK | 5 |
| 10 | 98ms | 1441kb | OK | 5 |
| 11 | 73ms | 1179kb | OK | 5 |
| 12 | 62ms | 1310kb | OK | 5 |
| 13 | 91ms | 1179kb | OK | 5 |
| 14 | 75ms | 1441kb | OK | 5 |
| 15 | 89ms | 1179kb | OK | 5 |
| 16 | 92ms | 1441kb | OK | 5 |
| 17 | 94ms | 1179kb | OK | 5 |
| 18 | 77ms | 1310kb | OK | 5 |
| 19 | 104ms | 1179kb | OK | 5 |
| 20 | 91ms | 1441kb | OK | 5 |
| Punctaj total | 100 |