Pagini recente » Borderou de evaluare (job #1512242) | Cod sursa (job #279983) | Cod sursa (job #3200548) | Cod sursa (job #533170) | Borderou de evaluare (job #1685521)
Borderou de evaluare (job #1685521)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:27:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d", &a[i][j]);
^
user.cpp:22:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxa.in", "r", stdin);
^
user.cpp:23:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d", &n, &m, &r0, &c0, &rf, &cf);
^
user.cpp:27:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
user.cpp: In function ‘void write()’:
user.cpp:56:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxa.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 52ms | 29788kb | OK | 10 |
| 2 | 60ms | 29824kb | OK | 10 |
| 3 | 60ms | 29824kb | OK | 10 |
| 4 | 64ms | 30088kb | OK | 10 |
| 5 | 60ms | 30088kb | OK | 10 |
| 6 | 60ms | 30088kb | OK | 10 |
| 7 | 64ms | 30616kb | OK | 10 |
| 8 | 88ms | 31672kb | OK | 10 |
| 9 | 144ms | 34048kb | OK | 10 |
| 10 | 252ms | 35368kb | OK | 10 |
| Punctaj total | 100 |