Borderou de evaluare (job #2301570)

Utilizator moltComan Calin molt Data 13 decembrie 2018 10:21:23
Problema Livada3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int valid(int)': main.cpp:40:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i=n ; i>=n-r ; i--) ^~~ main.cpp:42:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if (val>=c) ^~ main.cpp: In function 'int main()': main.cpp:49:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("livada3.in","r",stdin); ^ main.cpp:50:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("livada3.out","w",stdout); ^ main.cpp:78:12: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<sol; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms393kbOK10
24ms524kbOK10
33ms131kbKilled by Signal 80
43ms131kbKilled by Signal 80
52ms131kbKilled by Signal 80
63ms131kbKilled by Signal 80
73ms131kbKilled by Signal 80
83ms131kbKilled by Signal 80
93ms131kbKilled by Signal 80
102ms262kbOK10
Punctaj total30

Ceva nu functioneaza?