Pagini recente » Borderou de evaluare (job #1887324) | Borderou de evaluare (job #1619041) | Borderou de evaluare (job #2461751) | Borderou de evaluare (job #2055597) | Borderou de evaluare (job #2191515)
Borderou de evaluare (job #2191515)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:10: warning: overflow in implicit constant conversion [-Woverflow]
mini=20000000000;
^~~~~~~~~~~
user.cpp:26:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(smax-2*i<mini)
^~
user.cpp:28:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
nr2=smax-i;
^~~
user.cpp:24:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=smax/2;i++)
^~~
user.cpp:31:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
fprintf(fout,"%d %d",nr1,nr2);
^~~~~~~
user.cpp:10:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.cpp:13:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1328kb | OK | 10 | 40 |
| 2 | 0ms | 1324kb | OK | 10 |
| 3 | 0ms | 1324kb | OK | 10 |
| 4 | 8ms | 1388kb | OK | 10 |
| 5 | 36ms | 1444kb | OK | 10 | 40 |
| 6 | 0ms | 1328kb | OK | 10 |
| 7 | 60ms | 1480kb | OK | 10 |
| 8 | 8ms | 1400kb | OK | 10 |
| 9 | 4ms | 1344kb | OK | 10 | 20 |
| 10 | 72ms | 1532kb | OK | 10 |
| Punctaj total | 100 |