Pagini recente » Borderou de evaluare (job #647402) | Borderou de evaluare (job #1975714) | Borderou de evaluare (job #2632020) | Borderou de evaluare (job #2367332) | Borderou de evaluare (job #2120626)
Borderou de evaluare (job #2120626)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:92:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &n, &q);
^
user.cpp:95:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a[i].dim);
^
user.cpp:98:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a[i].v[j]);
^
user.cpp:106:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d", &op, &x, &y);
^
user.cpp: In function ‘int BinarySearch(int, int)’:
user.cpp:39:42: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int left = 1, right = a[line].dim, mid, pos;
^
user.cpp: In function ‘bool Verify(int, int, int, int)’:
user.cpp:58:31: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cnt1 += BinarySearch(i, val);
^
user.cpp: In function ‘int Task2(int, int)’:
user.cpp:87:9: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return pos;
^
user.cpp:58:31: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cnt1 += BinarySearch(i, val);
^
user.cpp:39:42: note: ‘pos’ was declared here
int left = 1, right = a[line].dim, mid, pos;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1092kb | OK | 5 |
2 | 0ms | 1096kb | OK | 5 |
3 | 56ms | 1468kb | OK | 5 |
4 | 284ms | 2648kb | OK | 5 |
5 | 0ms | 1088kb | OK | 5 |
6 | 28ms | 1292kb | OK | 5 |
7 | 280ms | 2652kb | OK | 5 |
8 | 28ms | 1300kb | OK | 5 |
9 | 88ms | 1740kb | OK | 5 |
10 | 236ms | 2400kb | OK | 5 |
11 | 192ms | 2560kb | OK | 5 |
12 | 184ms | 2388kb | OK | 5 |
13 | 200ms | 2568kb | OK | 5 |
14 | 232ms | 2648kb | OK | 5 |
15 | 212ms | 2648kb | OK | 5 |
16 | 208ms | 2648kb | OK | 5 |
17 | 180ms | 2412kb | OK | 5 |
18 | 184ms | 2416kb | OK | 5 |
19 | 236ms | 2652kb | OK | 5 |
20 | 284ms | 2648kb | OK | 5 |
Punctaj total | 100 |