Pagini recente » Borderou de evaluare (job #37541) | Borderou de evaluare (job #2199014) | Borderou de evaluare (job #985683) | Borderou de evaluare (job #49099) | Borderou de evaluare (job #2431985)
Borderou de evaluare (job #2431985)
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: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 | 26ms | 12189kb | OK! | 5 |
| 3 | 26ms | 12189kb | OK! | 5 |
| 4 | 27ms | 12189kb | OK! | 5 |
| 5 | 27ms | 12189kb | OK! | 5 |
| 6 | 28ms | 12189kb | OK! | 5 |
| 7 | 210ms | 15990kb | OK! | 5 |
| 8 | 426ms | 18874kb | OK! | 5 |
| 9 | 618ms | 21102kb | OK! | 5 |
| 10 | 675ms | 22151kb | OK! | 5 |
| 11 | 919ms | 24223kb | OK! | 5 |
| 12 | 1000ms | 26214kb | Time limit exceeded | 0 |
| 13 | 1003ms | 27131kb | Time limit exceeded | 0 |
| 14 | 1003ms | 27787kb | Time limit exceeded | 0 |
| 15 | 1000ms | 28311kb | Time limit exceeded | 0 |
| 16 | 1003ms | 29229kb | Time limit exceeded | 0 |
| 17 | 1003ms | 29622kb | Time limit exceeded | 0 |
| 18 | 1003ms | 30146kb | Time limit exceeded | 0 |
| 19 | 1000ms | 31588kb | Time limit exceeded | 0 |
| 20 | 979ms | 30801kb | OK! | 5 |
| Punctaj total | 60 |