Pagini recente » Borderou de evaluare (job #1291434) | Borderou de evaluare (job #451102) | Borderou de evaluare (job #2977466) | Borderou de evaluare (job #1076541) | Borderou de evaluare (job #1208604)
Borderou de evaluare (job #1208604)
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:39: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:36:26: warning: unused variable ‘vl’ [-Wunused-variable]
static long long vl;
^
user.cpp:58:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
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 | 32ms | 1568kb | Killed by signal 8(SIGFPE). | 0 |
2 | 32ms | 1572kb | Killed by signal 8(SIGFPE). | 0 |
3 | 32ms | 1572kb | Killed by signal 8(SIGFPE). | 0 |
4 | 36ms | 1568kb | Killed by signal 8(SIGFPE). | 0 |
5 | 44ms | 1576kb | Killed by signal 8(SIGFPE). | 0 |
6 | 44ms | 1576kb | Killed by signal 8(SIGFPE). | 0 |
7 | 32ms | 1568kb | Killed by signal 8(SIGFPE). | 0 |
8 | 32ms | 1576kb | Killed by signal 8(SIGFPE). | 0 |
9 | 36ms | 1576kb | Killed by signal 8(SIGFPE). | 0 |
10 | 28ms | 1580kb | OK | 10 |
Punctaj total | 10 |