Borderou de evaluare (job #2431458)

Utilizator CharacterMeCharacter Me CharacterMe Data 19 iunie 2019 16:26:07
Problema Markon Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 15

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
127ms12189kbOK!5
227ms12189kbOK!5
327ms12189kbRaspuns Gresit!0
427ms12189kbRaspuns Gresit!0
528ms12189kbRaspuns Gresit!0
628ms12189kbOK!5
7189ms15597kbRaspuns Gresit!0
8326ms17825kbRaspuns Gresit!0
9461ms19529kbRaspuns Gresit!0
10604ms21250kbRaspuns Gresit!0
11726ms23199kbRaspuns Gresit!0
12834ms23986kbRaspuns Gresit!0
13852ms24510kbRaspuns Gresit!0
14781ms25034kbRaspuns Gresit!0
15902ms25690kbRaspuns Gresit!0
16894ms26607kbRaspuns Gresit!0
17919ms27262kbRaspuns Gresit!0
18949ms27824kbRaspuns Gresit!0
191001ms29851kbTime limit exceeded0
201001ms29077kbTime limit exceeded0
Punctaj total15

Ceva nu functioneaza?