Borderou de evaluare (job #2420676)

Utilizator BogdanRazvanBogdan Razvan BogdanRazvan Data 12 mai 2019 22:54:18
Problema Pluricex Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void solve(int)': main.cpp:11:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int j = 1; j <= k; ++j) ^~~ main.cpp:13:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' bool ok = 1; ^~~~ main.cpp: In function 'int main()': main.cpp:33:65: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] for(int j = 1; j <= nr; ++j) scanf("%d", a[i][++a[i][0]]); ^ main.cpp:28:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pluricex.in", "r", stdin); ^ main.cpp:29:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pluricex.out", "w", stdout); ^ main.cpp:30:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &cate, &m); ^ main.cpp:32:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nr); ^ main.cpp:33:66: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int j = 1; j <= nr; ++j) scanf("%d", a[i][++a[i][0]]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbKilled by Signal 110
23ms131kbKilled by Signal 110
33ms131kbKilled by Signal 110
43ms131kbKilled by Signal 110
53ms131kbKilled by Signal 110
63ms131kbKilled by Signal 110
73ms131kbKilled by Signal 110
83ms131kbKilled by Signal 110
93ms131kbKilled by Signal 110
103ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?