Pagini recente » Borderou de evaluare (job #2379319) | Borderou de evaluare (job #2074265) | Borderou de evaluare (job #1268462) | Borderou de evaluare (job #1035192) | Borderou de evaluare (job #1208324)
Borderou de evaluare (job #1208324)
Raport evaluator
Compilare:
user.cpp: In function ‘int e_prim(long int)’:
user.cpp:28:24: warning: left operand of comma operator has no effect [-Wunused-value]
for (long i=1;i<=pr[0],pr[i]*pr[i]<=x;i++){
^
user.cpp:31:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (x=1)
^
user.cpp: In function ‘int main()’:
user.cpp:60:22: warning: left operand of comma operator has no effect [-Wunused-value]
for(i=1;i<=pr[0],pr[i]*pr[i]*pr[i] <= x;i++) {
^
user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubercool.in","r",stdin);
^
user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubercool.out","w",stdout);
^
user.cpp:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&t);
^
user.cpp:50:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 64ms | 1576kb | Incorect | 0 |
2 | 76ms | 1572kb | OK | 10 |
3 | 108ms | 1580kb | Incorect | 0 |
4 | 164ms | 1572kb | Incorect | 0 |
5 | 380ms | 1576kb | Incorect | 0 |
6 | 364ms | 1576kb | Incorect | 0 |
7 | 736ms | 1576kb | Incorect | 0 |
8 | 748ms | 1580kb | Incorect | 0 |
9 | Depăşit | 1572kb | Time limit exceeded. | 0 |
10 | 36ms | 1576kb | OK | 10 |
Punctaj total | 20 |