Borderou de evaluare (job #2431985)

Utilizator CharacterMeCharacter Me CharacterMe Data 21 iunie 2019 15:09:12
Problema Markon Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

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
127ms12189kbOK!5
226ms12189kbOK!5
326ms12189kbOK!5
427ms12189kbOK!5
527ms12189kbOK!5
628ms12189kbOK!5
7210ms15990kbOK!5
8426ms18874kbOK!5
9618ms21102kbOK!5
10675ms22151kbOK!5
11919ms24223kbOK!5
121000ms26214kbTime limit exceeded0
131003ms27131kbTime limit exceeded0
141003ms27787kbTime limit exceeded0
151000ms28311kbTime limit exceeded0
161003ms29229kbTime limit exceeded0
171003ms29622kbTime limit exceeded0
181003ms30146kbTime limit exceeded0
191000ms31588kbTime limit exceeded0
20979ms30801kbOK!5
Punctaj total60

Ceva nu functioneaza?