Borderou de evaluare (job #2362872)

Utilizator BogdanRazvanBogdan Razvan BogdanRazvan Data 3 martie 2019 12:07:17
Problema Panza Status done
Runda Algoritmiada 2019 Runda PreOJI Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:53: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] for(int i = 1; i <= m; ++i) scanf("%d", &road[i]); ^ main.cpp:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 0; i <= n; ++i) ^~~ main.cpp:27:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' details x, y; ^~~~~~~ main.cpp:12:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("panza.in", "r", stdin); ^ main.cpp:13:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("panza.out", "w", stdout); ^ main.cpp:15:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &n, &m, &s, &f); ^ main.cpp:17:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= m; ++i) scanf("%d", &road[i]); ^ main.cpp:18:85: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n; ++i) scanf("%d%d", &allowed[i].first, &allowed[i].second); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms131kbKilled by Signal 110
33ms131kbOK10
45ms1310kbKilled by Signal 110
515ms1441kbIncorect0
623ms1572kbOK10
728ms1572kbOK10
843ms15204kbKilled by Signal 110
964ms18481kbKilled by Signal 110
1045ms17301kbKilled by Signal 110
Punctaj total40

Ceva nu functioneaza?