Pagini recente » Borderou de evaluare (job #119969) | Borderou de evaluare (job #1941286) | Borderou de evaluare (job #382528) | Borderou de evaluare (job #271416) | Borderou de evaluare (job #1227011)
Borderou de evaluare (job #1227011)
Raport evaluator
Compilare:
user.cpp: In function ‘int search(int)’:
user.cpp:26:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(step=1;step<l.size()-1;step<<=1);
^
user.cpp:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+step<l.size() && a[l[i+step]].y<val)
^
user.cpp: In function ‘void read()’:
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d%d",&a[i].x,&a[i].y),a[i].y--;
^
user.cpp: In function ‘int main()’:
user.cpp:64:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("intfm.in","r",stdin);
^
user.cpp:65:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("intfm.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 4ms | 324kb | Incorect | 0 |
5 | 4ms | 320kb | Incorect | 0 |
6 | 4ms | 312kb | Incorect | 0 |
7 | 8ms | 320kb | Incorect | 0 |
8 | 0ms | 308kb | Incorect | 0 |
9 | 4ms | 320kb | Incorect | 0 |
10 | 4ms | 328kb | Incorect | 0 |
Punctaj total | 30 |