Borderou de evaluare (job #2248274)

Utilizator moroianu_pop_sitarubogdan 3.14159 Bossi moroianu_pop_sitaru Data 29 septembrie 2018 12:06:56
Problema Guest Status done
Runda Nationala ACM ICPC 2018 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:77:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(int t = 1; t <= T; t++) ^~~ user.cpp:80:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ return 0; ^~~~~~ user.cpp: In function ‘void solve_test()’: user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.cpp: In function ‘int main()’: user.cpp:71:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("guest.in", "r", stdin); ^ user.cpp:72:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("guest.out", "w", stdout); ^ user.cpp:76:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1548ms5580kbOK100
Punctaj total100

Ceva nu functioneaza?