Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #2861193) | Borderou de evaluare (job #910815) | Borderou de evaluare (job #1239790) | Borderou de evaluare (job #1208325)
Borderou de evaluare (job #1208325)
Raport evaluator
Compilare:
user.cpp: In function ‘int prim(long 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: In function ‘int ubercool(long long int)’:
user.cpp:44: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: In function ‘int main()’:
user.cpp:64: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:65: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:69:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&t);
^
user.cpp:71: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 | 76ms | Depăşit | Memory limit exceeded. | 0 |
| 2 | 76ms | 1576kb | OK | 10 |
| 3 | 76ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 96ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 80ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 196ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 76ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 96ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 84ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 40ms | 1576kb | OK | 10 |
| Punctaj total | 20 |