Pagini recente » Borderou de evaluare (job #2179737) | Borderou de evaluare (job #2485683) | Borderou de evaluare (job #2169734) | Borderou de evaluare (job #1419652) | Borderou de evaluare (job #2289078)
Borderou de evaluare (job #2289078)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:37:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=1;prim1[j]*prim1[j]<=i;j++)
^~~
main.cpp:39:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
while(i%prim1[j]==0){
^~~~~
main.cpp:11:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sireturi.in","r",stdin);
^
main.cpp:12:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sireturi.out","w",stdout);
^
main.cpp:43:22: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
p=p*2;
~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1003ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 0 |