Pagini recente » Borderou de evaluare (job #3234472) | Borderou de evaluare (job #333615) | Borderou de evaluare (job #402698) | Borderou de evaluare (job #192193) | Borderou de evaluare (job #2431452)
Borderou de evaluare (job #2431452)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1; i<=N; ++i) Val[i]-=Graph[i][0]; Out[++Sol]=Start;
^~~
main.cpp:23:46: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1; i<=N; ++i) Val[i]-=Graph[i][0]; Out[++Sol]=Start;
^~~
main.cpp:24:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(Good[Start]==true || Val[Start]>0) Q.push(Start); Mark[Start]=InQ[Start]=true;
^~
main.cpp:24:58: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(Good[Start]==true || Val[Start]>0) Q.push(Start); Mark[Start]=InQ[Start]=true;
^~~~
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("markon.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("markon.out", "w", stdout);
^
main.cpp:13:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &M, &Start);
^
main.cpp:14:68: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=N; ++i){Graph[i].push_back(0); scanf("%d", &Val[i]); if(Val[i]==0) Good[i]=true;}
^
main.cpp:17:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 27ms | 12189kb | OK! | 5 |
| 2 | 27ms | 12189kb | OK! | 5 |
| 3 | 27ms | 12189kb | Raspuns Gresit! | 0 |
| 4 | 27ms | 12189kb | Raspuns Gresit! | 0 |
| 5 | 28ms | 12189kb | Raspuns Gresit! | 0 |
| 6 | 28ms | 12189kb | Raspuns Gresit! | 0 |
| 7 | 187ms | 15597kb | Raspuns Gresit! | 0 |
| 8 | 316ms | 17825kb | Raspuns Gresit! | 0 |
| 9 | 471ms | 19529kb | Raspuns Gresit! | 0 |
| 10 | 608ms | 21229kb | Raspuns Gresit! | 0 |
| 11 | 732ms | 23199kb | Raspuns Gresit! | 0 |
| 12 | 755ms | 23724kb | Raspuns Gresit! | 0 |
| 13 | 778ms | 24248kb | Raspuns Gresit! | 0 |
| 14 | 788ms | 24903kb | Raspuns Gresit! | 0 |
| 15 | 806ms | 25690kb | Raspuns Gresit! | 0 |
| 16 | 808ms | 26345kb | Raspuns Gresit! | 0 |
| 17 | 828ms | 27131kb | Raspuns Gresit! | 0 |
| 18 | 829ms | 27787kb | Raspuns Gresit! | 0 |
| 19 | 910ms | 29753kb | Raspuns Gresit! | 0 |
| 20 | 920ms | 28966kb | Raspuns Gresit! | 0 |
| Punctaj total | 10 |