Pagini recente » Borderou de evaluare (job #177632) | Borderou de evaluare (job #977992) | Cod sursa (job #765309) | Borderou de evaluare (job #41112) | Borderou de evaluare (job #1297219)
Borderou de evaluare (job #1297219)
Raport evaluator
Compilare:
user.cpp: In function ‘int Query(int, int)’:
user.cpp:16:11: warning: statement has no effect [-Wunused-value]
for (x;x+rad1<=y;x+=rad1) ans=max(ans,sol2[x+rad1-1]);
^
user.cpp:17:11: warning: statement has no effect [-Wunused-value]
for (x;x+rad2<=y;x+=rad2) ans=max(ans,sol1[x+rad2-1]);
^
user.cpp: In function ‘int main()’:
user.cpp:24:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in","r",stdin);
^
user.cpp:25:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out","w",stdout);
^
user.cpp:26:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
^
user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
^
user.cpp:52:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 816ms | 388kb | OK | 10 |
4 | 744ms | 284kb | OK | 10 |
5 | 112ms | 848kb | OK | 10 |
6 | 60ms | 848kb | OK | 10 |
7 | Depăşit | 844kb | Time limit exceeded. | 0 |
8 | Depăşit | 848kb | Time limit exceeded. | 0 |
9 | Depăşit | 844kb | Time limit exceeded. | 0 |
10 | Depăşit | 848kb | Time limit exceeded. | 0 |
Punctaj total | 60 |