Pagini recente » Borderou de evaluare (job #765148) | Borderou de evaluare (job #2266004) | Borderou de evaluare (job #396105) | Borderou de evaluare (job #1919537) | Borderou de evaluare (job #2018612)
Borderou de evaluare (job #2018612)
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 | 484kb | Corect! Varianta 1 | 5 |
2 | 0ms | 540kb | Corect! Varianta 1 | 5 |
3 | 0ms | 912kb | Corect! Varianta 1 | 5 |
4 | 4ms | 1112kb | Corect! Varianta 1 | 5 |
5 | 20ms | 8584kb | Corect! Varianta 1 | 5 |
6 | 0ms | 300kb | Corect! Varianta 2 | 5 |
7 | 0ms | 416kb | Corect! Varianta 2 | 5 |
8 | 4ms | 408kb | Corect! Varianta 2 | 5 |
9 | 16ms | 484kb | Corect! Varianta 2 | 5 |
10 | 16ms | 484kb | Corect! Varianta 2 | 5 |
11 | 56ms | 616kb | Corect! Varianta 2 | 5 |
12 | 96ms | 856kb | Corect! Varianta 2 | 5 |
13 | 164ms | 1412kb | Gresit! | 0 |
14 | 108ms | 948kb | Linie in afara matricei | 0 |
15 | 188ms | 1192kb | Linie in afara matricei | 0 |
16 | 192ms | 1220kb | Linie in afara matricei | 0 |
17 | Depăşit | 1256kb | Time limit exceeded. | 0 |
18 | 192ms | 1236kb | Corect! Varianta 2 | 5 |
19 | Depăşit | 1664kb | Time limit exceeded. | 0 |
20 | 0ms | 300kb | Corect! Varianta 1 | 5 |
Punctaj total | 70 |