Pagini recente » Borderou de evaluare (job #1665222) | Borderou de evaluare (job #3141980) | Borderou de evaluare (job #2111634) | Borderou de evaluare (job #2238386) | Borderou de evaluare (job #2703386)
Borderou de evaluare (job #2703386)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:40: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
fscanf(fin, "%lld", &Heights[i]);
^
main.cpp:27:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
main.cpp:31:41: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld", &Heights[i]);
^
main.cpp:36:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &q);
^
main.cpp:41:80: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d%d", &startLine, &startColumn, &endLine, &endColumn);
^
main.cpp: In function 'int BinarySearch(int*, int, int, int)':
main.cpp:14:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
int ans;
^~~
main.cpp: In function 'int main()':
main.cpp:42:77: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
int pos1 = BinarySearch(Heights, startLine, endLine, startColumn) - 1;
^
main.cpp:43:75: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
int pos2 = BinarySearch(Heights, startLine, endLine, endColumn) - 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect | 10 |
| 2 | 3ms | 131kb | Incorect | 0 |
| 3 | 3ms | 131kb | Incorect | 0 |
| 4 | 3ms | 131kb | Corect | 5 |
| 5 | 10ms | 393kb | Incorect | 0 |
| 6 | 22ms | 786kb | Incorect | 0 |
| 7 | 35ms | 1048kb | Corect | 4 |
| 8 | 45ms | 1310kb | Corect | 4 |
| 9 | 8ms | 131kb | Corect | 4 |
| 10 | 8ms | 131kb | Incorect | 0 |
| 11 | 8ms | 131kb | Corect | 4 |
| 12 | 8ms | 131kb | Corect | 4 |
| 13 | 224ms | 2097kb | Corect | 6 |
| 14 | 222ms | 2228kb | Corect | 6 |
| 15 | 201ms | 2187kb | Corect | 6 |
| 16 | 224ms | 2400kb | Corect | 6 |
| 17 | 225ms | 2359kb | Corect | 6 |
| 18 | 231ms | 2359kb | Corect | 6 |
| 19 | 218ms | 2359kb | Corect | 7 |
| Punctaj total | 78 |