Pagini recente » Borderou de evaluare (job #2733163) | Monitorul de evaluare | Borderou de evaluare (job #2316123) | Borderou de evaluare (job #3310438) | Borderou de evaluare (job #2094681)
Borderou de evaluare (job #2094681)
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] <= idx) && (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 | 2576kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 2576kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 2576kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 2580kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 2580kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 2580kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 2580kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 2584kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 2580kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 2576kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |