Pagini recente » Borderou de evaluare (job #1544911) | Borderou de evaluare (job #1255395) | Borderou de evaluare (job #3158461) | Borderou de evaluare (job #1616293) | Borderou de evaluare (job #1184415)
Borderou de evaluare (job #1184415)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:26: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
if ((k-(n%k))>pr[i]==0) {p=pr[i]; while (k-(n%k)>=p) y=y+((k-(n%k))/p),p=p*pr[i]; }
^
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.in","r",stdin);
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.out","w",stdout);
^
user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t); nm=1000000; numereprime();
^
user.cpp:38:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %d",&n,&k); sol=1LL;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1224kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |