Pagini recente » Borderou de evaluare (job #3162262) | Borderou de evaluare (job #2619018) | Borderou de evaluare (job #3188324) | Monitorul de evaluare | Borderou de evaluare (job #2094140)
Borderou de evaluare (job #2094140)
Raport evaluator
Compilare:
user.cpp: In function ‘int GetIndexFor(int)’:
user.cpp:65:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; step < v.size(); step <<= 1);
^
user.cpp:69: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 | 456kb | OK | 10 |
| 2 | 0ms | 464kb | OK | 10 |
| 3 | 0ms | 456kb | OK | 10 |
| 4 | 0ms | 496kb | OK | 10 |
| 5 | 0ms | 508kb | OK | 10 |
| 6 | 0ms | 500kb | OK | 10 |
| 7 | 4ms | 620kb | OK | 10 |
| 8 | 0ms | 560kb | OK | 10 |
| 9 | 16ms | 1152kb | OK | 10 |
| 10 | 8ms | 992kb | OK | 10 |
| Punctaj total | 100 |