Pagini recente » Borderou de evaluare (job #2206355) | Borderou de evaluare (job #2211853) | Borderou de evaluare (job #1072437) | Borderou de evaluare (job #3000166) | Borderou de evaluare (job #1228126)
Borderou de evaluare (job #1228126)
Raport evaluator
Compilare:
user.cpp: In function ‘int search(int, int)’:
user.cpp:46:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(step=1;step<l[k].size()-1;step<<=1);
^
user.cpp:48:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+step<l[k].size() && l[k][i+step].second<=val)
^
user.cpp: In function ‘void read()’:
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:23:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].c);
^
user.cpp: In function ‘int main()’:
user.cpp:106:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("viteza2.in","r",stdin);
^
user.cpp:107:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("viteza2.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 316kb | OK | 10 |
2 | 0ms | 316kb | OK | 10 |
3 | 12ms | 332kb | Incorect | 0 |
4 | 44ms | 360kb | OK | 10 |
5 | 136ms | 388kb | Incorect | 0 |
6 | 328ms | 452kb | Incorect | 0 |
7 | 340ms | 452kb | Incorect | 0 |
8 | Depăşit | 532kb | Time limit exceeded. | 0 |
9 | Depăşit | 536kb | Time limit exceeded. | 0 |
10 | Depăşit | 536kb | Time limit exceeded. | 0 |
Punctaj total | 30 |