Pagini recente » Borderou de evaluare (job #1291423) | Borderou de evaluare (job #937277) | Borderou de evaluare (job #729430) | Borderou de evaluare (job #1175505) | Borderou de evaluare (job #1208615)
Borderou de evaluare (job #1208615)
Raport evaluator
Compilare:
user.cpp: In function ‘int prim(long long int)’:
user.cpp:29: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: In function ‘int main()’:
user.cpp:62: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:63: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:67:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&t);
^
user.cpp:69: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 | 84ms | 1572kb | OK | 10 |
2 | 152ms | 1568kb | OK | 10 |
3 | 204ms | 1572kb | OK | 10 |
4 | 436ms | 1576kb | OK | 10 |
5 | Depăşit | 1564kb | Time limit exceeded. | 0 |
6 | Depăşit | 1572kb | Time limit exceeded. | 0 |
7 | Depăşit | 1572kb | Time limit exceeded. | 0 |
8 | Depăşit | 1572kb | Time limit exceeded. | 0 |
9 | Depăşit | 1568kb | Time limit exceeded. | 0 |
10 | 36ms | 1572kb | OK | 10 |
Punctaj total | 50 |