Pagini recente » Borderou de evaluare (job #2445698) | Borderou de evaluare (job #709567) | Borderou de evaluare (job #172607) | Borderou de evaluare (job #1763481) | Borderou de evaluare (job #2094108)
Borderou de evaluare (job #2094108)
Raport evaluator
Compilare:
user.cpp: In function ‘int GetIndexFor(int)’:
user.cpp:63:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; step < v.size(); step <<= 1);
^
user.cpp:67:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i + step < v.size() && v[i + step] <= x)
^
user.cpp: In function ‘int main()’:
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expr.in", "r", stdin);
^
user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", expression);
^
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expr.in", "r", stdin);
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expr.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 480kb | OK | 10 |
5 | 0ms | 496kb | OK | 10 |
6 | 0ms | 484kb | OK | 10 |
7 | 4ms | 608kb | Incorect | 0 |
8 | 0ms | 540kb | OK | 10 |
9 | 16ms | 1140kb | OK | 10 |
10 | 8ms | 972kb | OK | 10 |
Punctaj total | 90 |