Borderou de evaluare (job #1579589)

Utilizator nicuvladNicu Vlad nicuvlad Data 24 ianuarie 2016 21:29:17
Problema Ulei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: In file included from /usr/include/c++/4.8/backward/hash_map:60:0, from user.cpp:6: /usr/include/c++/4.8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ user.cpp: In function ‘void findGoodPairing(int)’: user.cpp:30:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < v[i].size(); j++) ^ user.cpp:41:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < v[i].size(); j++) ^ user.cpp: In function ‘int main()’: user.cpp:129:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < v[i].size(); j++) ^ user.cpp:162:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (j < v[i].size()) ^ user.cpp:94:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ulei.in", "r", stdin); ^ user.cpp:95:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ulei.out", "w", stdout); ^ user.cpp:97:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:101:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:113:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &i, &j, &cul); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1572kbOk!10
244ms2004kbOk!10
396ms2684kbOk!10
4Depăşit22948kbTime limit exceeded.0
5Depăşit22428kbTime limit exceeded.0
6Depăşit22192kbTime limit exceeded.0
7Depăşit22892kbTime limit exceeded.0
8Depăşit22752kbTime limit exceeded.0
9Depăşit22440kbTime limit exceeded.0
10Depăşit23096kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?