Borderou de evaluare (job #2604949)

Utilizator minhkhoistar1Duong Manh Khoa minhkhoistar1 Data 24 aprilie 2020 04:52:51
Problema Suma4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp:6:0: warning: ignoring #pragma 03 [-Wunknown-pragmas] #pragma 03 main.cpp: In function 'void read()': main.cpp:63:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(l!=sqr.size()) { ~^~~~~~~~~~~~ main.cpp: In function 'bool operator<(const vi&, const vi&)': main.cpp:20:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define rep(i, n) for (int i=0; i<(n); i++) ^ main.cpp:78:5: note: in expansion of macro 'rep' rep(i, min(lhs.size(), rhs.size())) if(lhs[i]<rhs[i]) return 1; ^~~ main.cpp: In function 'void dijkstra(int, int)': main.cpp:21:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define rep1(i, n) for (int i=1; i<=(n); i++) ^ main.cpp:99:5: note: in expansion of macro 'rep1' rep1(i, path[dest].size()-2) cout<<path[dest][i]<<' '; cout<<endl; ^~~~ main.cpp:21:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define rep1(i, n) for (int i=1; i<=(n); i++) ^ main.cpp:99:5: note: in expansion of macro 'rep1' rep1(i, path[dest].size()-2) cout<<path[dest][i]<<' '; cout<<endl; ^~~~ main.cpp:99:60: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' rep1(i, path[dest].size()-2) cout<<path[dest][i]<<' '; cout<<endl; ^~~~ main.cpp: In function 'int32_t main()': main.cpp:103:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("suma4.in", "r", stdin); freopen("suma4.out", "w", stdout); ^ main.cpp:103:71: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("suma4.in", "r", stdin); freopen("suma4.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms393kbRaspuns gresit0
27ms524kbRaspuns gresit0
312ms917kbRaspuns gresit0
427ms2228kbRaspuns gresit0
572ms7184kbMemory limit exceeded0
661ms7184kbMemory limit exceeded0
760ms7184kbMemory limit exceeded0
846ms7184kbMemory limit exceeded0
958ms7184kbMemory limit exceeded0
102ms131kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?