Pagini recente » Borderou de evaluare (job #2303247) | Borderou de evaluare (job #1855815) | Borderou de evaluare (job #118724) | Borderou de evaluare (job #2576514) | Borderou de evaluare (job #1208323)
Borderou de evaluare (job #1208323)
Raport evaluator
Compilare:
user.cpp: In function ‘int e_prim(long int)’:
user.cpp:27: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:30:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (x=1)
^
user.cpp: In function ‘int main()’:
user.cpp:59: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:42: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:43: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:47:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&t);
^
user.cpp:49: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 | 36ms | 1572kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 36ms | 1576kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 44ms | 1576kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 40ms | 1556kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 44ms | 1576kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 40ms | 1580kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 40ms | 1580kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 40ms | 1572kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 40ms | 1576kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 40ms | 1576kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |