Borderou de evaluare (job #1693733)

Utilizator mihaipopa12Popa Mihai mihaipopa12 Data 23 aprilie 2016 19:24:09
Problema Progresii Colorate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void solve3()’: user.cpp:97:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (all.size() < n) { ^ user.cpp:106:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = p; i < all.size() && get_min(all[i]) == crt_min; ++i) { ^ user.cpp:118:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = p; i < all.size() && get_min(all[i]) == crt_min; ++i) { ^ user.cpp: In function ‘void solve1()’: user.cpp:19:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &k, &c); ^ user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int x; scanf("%d", &x); ^ user.cpp: In function ‘void solve2()’: user.cpp:50:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &k, &c); ^ user.cpp:52:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int x; scanf("%d", &x); ^ user.cpp: In function ‘void solve3()’: user.cpp:94:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &k, &c); ^ user.cpp: In function ‘int main()’: user.cpp:140:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("procol.in", "r", stdin); ^ user.cpp:141:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("procol.out", "w", stdout); ^ user.cpp:144:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &type); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
196ms496kbOK10
2132ms496kbOK10
30ms280kbOK10
432ms484kbOK10
536ms492kbOK10
6200ms3604kbOK10
728ms3608kbOK10
8196ms3488kbOK10
9196ms3608kbOK10
10260ms5176kbOK10
Punctaj total100

Ceva nu functioneaza?