Borderou de evaluare (job #1720277)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 21 iunie 2016 21:26:21
Problema Qxy Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 55

Raport evaluator

Compilare: user.cpp: In function ‘void merge(std::vector<int>&, std::vector<int>&, std::vector<int>&)’: user.cpp:34:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(; i<a.size() && j<b.size(); ) { ^ user.cpp:34:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(; i<a.size() && j<b.size(); ) { ^ user.cpp:41:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(; i<a.size(); i++) ^ user.cpp:44:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(; j<b.size(); j++) ^ user.cpp: In function ‘int q_pom(int, int, int)’: user.cpp:70:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(a+m<pom[nod].size() && pom[nod][a+m]<qy1) ^ user.cpp:74:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(b+m<pom[nod].size() && pom[nod][b+m]<=qy2) ^ user.cpp: In function ‘int main()’: user.cpp:112:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.in", "r", stdin); ^ user.cpp:113:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.out", "w", stdout); ^ user.cpp:115:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:117:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i].y); ^ user.cpp:123:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:125:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&qx1,&qx2,&qy1,&qy2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1156ms868kbOK5
2192ms880kbOK5
3180ms1072kbOK5
456ms752kbOK5
5168ms876kbOK5
6168ms1040kbOK5
7140ms1040kbOK5
892ms872kbOK5
996ms808kbOK5
10Depăşit1824kbTime limit exceeded.0
11140ms1304kbOK5
12144ms1424kbOK5
13Depăşit1896kbTime limit exceeded.0
14Depăşit1900kbTime limit exceeded.0
15Depăşit1896kbTime limit exceeded.0
16Depăşit1896kbTime limit exceeded.0
17Depăşit1896kbTime limit exceeded.0
18Depăşit1904kbTime limit exceeded.0
19Depăşit1896kbTime limit exceeded.0
20Depăşit1900kbTime limit exceeded.0
Punctaj total55

Ceva nu functioneaza?