Pagini recente » Borderou de evaluare (job #90978) | Cod sursa (job #59243) | Borderou de evaluare (job #3211402) | Cod sursa (job #9847) | Borderou de evaluare (job #2604316)
Borderou de evaluare (job #2604316)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++) if(i!=n/2) Q.push_back(i); ok=1; last=1;
^~~
main.cpp:13:50: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1;i<=n;i++) if(i!=n/2) Q.push_back(i); ok=1; last=1;
^~
main.cpp:10:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sah.in","r",stdin);
^
main.cpp:11:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sah.out","w",stdout);
^
main.cpp:12:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK! | 10 |
| 2 | 2ms | 131kb | OK! | 10 |
| 3 | 2ms | 131kb | OK! | 10 |
| 4 | 5ms | 393kb | OK! | 10 |
| 5 | 6ms | 524kb | OK! | 10 |
| 6 | 9ms | 917kb | OK! | 10 |
| 7 | 15ms | 1835kb | OK! | 10 |
| 8 | 13ms | 1966kb | OK! | 10 |
| 9 | 27ms | 3407kb | OK! | 10 |
| 10 | 31ms | 3932kb | OK! | 10 |
| Punctaj total | 100 |