Pagini recente » Borderou de evaluare (job #40616) | Borderou de evaluare (job #2391250) | Borderou de evaluare (job #1629082) | Borderou de evaluare (job #40857) | Borderou de evaluare (job #2018613)
Borderou de evaluare (job #2018613)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
vizch[a[i + dx[p]][j + dy[p]]]++;
^
user.cpp:56:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(vizch[ch] >= 1) {
^
user.cpp:25:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma3.in", "r", stdin);
^
user.cpp:26:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma3.out", "w", stdout);
^
user.cpp:28:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n", &v, &n, &m);
^
user.cpp:70:47: warning: ‘bestch’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d\n%c\n", besti, bestj, bestch);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 476kb | Corect! Varianta 1 | 5 |
| 2 | 0ms | 528kb | Corect! Varianta 1 | 5 |
| 3 | 0ms | 908kb | Corect! Varianta 1 | 5 |
| 4 | 4ms | 1108kb | Corect! Varianta 1 | 5 |
| 5 | 20ms | 8576kb | Corect! Varianta 1 | 5 |
| 6 | 0ms | 304kb | Corect! Varianta 2 | 5 |
| 7 | 4ms | 412kb | Corect! Varianta 2 | 5 |
| 8 | 12ms | 408kb | Corect! Varianta 2 | 5 |
| 9 | 48ms | 480kb | Corect! Varianta 2 | 5 |
| 10 | 48ms | 484kb | Corect! Varianta 2 | 5 |
| 11 | 152ms | 624kb | Corect! Varianta 2 | 5 |
| 12 | Depăşit | 844kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 1392kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 932kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1176kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1204kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1240kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1216kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1672kb | Time limit exceeded. | 0 |
| 20 | 0ms | 296kb | Corect! Varianta 1 | 5 |
| Punctaj total | 60 |