Pagini recente » Borderou de evaluare (job #2632390) | Borderou de evaluare (job #178038) | Borderou de evaluare (job #1561768) | Borderou de evaluare (job #2557797) | Borderou de evaluare (job #2094686)
Borderou de evaluare (job #2094686)
Raport evaluator
Compilare:
user.cpp: In function ‘int Find(int)’:
user.cpp:16:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; step < position[x].size() - 1; step <<= 1);
^
user.cpp:20:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((i + step < position[x].size()) && (position[x][i + step] <= top) && (s[position[x][i + step]] == x))
^
user.cpp: In function ‘int main()’:
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo2.in", "r", stdin);
^
user.cpp:32:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo2.out", "w", stdout);
^
user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:38:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &Q, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 11952kb | Time limit exceeded. | 0 |
2 | Depăşit | 11952kb | Time limit exceeded. | 0 |
3 | Depăşit | 11956kb | Time limit exceeded. | 0 |
4 | Depăşit | 11952kb | Time limit exceeded. | 0 |
5 | Depăşit | 11952kb | Time limit exceeded. | 0 |
6 | Depăşit | 11956kb | Time limit exceeded. | 0 |
7 | Depăşit | 11952kb | Time limit exceeded. | 0 |
8 | Depăşit | 11952kb | Time limit exceeded. | 0 |
9 | Depăşit | 11952kb | Time limit exceeded. | 0 |
10 | Depăşit | 11956kb | Time limit exceeded. | 0 |
Punctaj total | 0 |