Pagini recente » Borderou de evaluare (job #377305) | Cod sursa (job #2016359) | Borderou de evaluare (job #1565157) | Borderou de evaluare (job #1691411) | Borderou de evaluare (job #2191462)
Borderou de evaluare (job #2191462)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:10: warning: overflow in implicit constant conversion [-Woverflow]
mini=20000000000;
^~~~~~~~~~~
user.cpp:25:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(smax-2*i<mini)
^~
user.cpp:27:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
nr2=smax-i;
^~~
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 | 1324kb | Incorect | 0 | 0 |
| 2 | 0ms | 1328kb | Incorect | 0 |
| 3 | 0ms | 1328kb | Incorect | 0 |
| 4 | 8ms | 1384kb | OK | 10 |
| 5 | 36ms | 1444kb | Incorect | 0 | 0 |
| 6 | 0ms | 1328kb | Incorect | 0 |
| 7 | 64ms | 1480kb | OK | 10 |
| 8 | 8ms | 1400kb | OK | 10 |
| 9 | 4ms | 1328kb | Incorect | 0 | 0 |
| 10 | 68ms | 1528kb | OK | 10 |
| Punctaj total | 0 |