Pagini recente » Borderou de evaluare (job #1702018) | Borderou de evaluare (job #2073080) | Borderou de evaluare (job #974301) | Borderou de evaluare (job #1992095) | Borderou de evaluare (job #1297225)
Borderou de evaluare (job #1297225)
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 | 284kb | OK | 10 |
3 | 812ms | 392kb | OK | 10 |
4 | 732ms | 284kb | OK | 10 |
5 | 108ms | 848kb | OK | 10 |
6 | 56ms | 852kb | OK | 10 |
7 | 988ms | 852kb | OK | 10 |
8 | Depăşit | 852kb | Time limit exceeded. | 0 |
9 | Depăşit | 852kb | Time limit exceeded. | 0 |
10 | 980ms | 852kb | OK | 10 |
Punctaj total | 80 |