Pagini recente » Borderou de evaluare (job #509612) | Borderou de evaluare (job #1492832) | Borderou de evaluare (job #3198276) | Borderou de evaluare (job #1152649) | Borderou de evaluare (job #2423316)
Borderou de evaluare (job #2423316)
Raport evaluator
Compilare:
main.cpp: In function 'int prep()':
main.cpp:202:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned long long j=i*i;j<=n;j+=i)
~^~~
main.cpp:199:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=3;i<=n;i+=2)
^~~
main.cpp:205:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return s;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:256:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 13ms | 1171kb | Incorect | 0 |
5 | 18ms | 1282kb | Incorect | 0 |
6 | 24ms | 1474kb | Incorect | 0 |
7 | 19ms | 1572kb | Incorect | 0 |
8 | 32ms | 1966kb | Incorect | 0 |
9 | 42ms | 2076kb | Incorect | 0 |
10 | 34ms | 2097kb | Incorect | 0 |
Punctaj total | 30 |