Borderou de evaluare (job #1756434)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 12 septembrie 2016 20:29:25
Problema Tri3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:18:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d", &Array[i].first, &Array[i].second); ^ user.cpp:18:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void buildTree(int, int, int)’: user.cpp:66:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < Arb[2 * K + 1].size(); i++) ^ user.cpp: In function ‘void Solve()’: user.cpp:126:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d", &a.first, &a.second, &b.first, &b.second); ^ user.cpp:126:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:126:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:126:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void Read()’: user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &K, &N); ^ user.cpp:18:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &Array[i].first, &Array[i].second); ^ user.cpp: In function ‘bool check(std::vector<std::pair<long long int, long long int> >, long long int, long long int, long long int)’: user.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void Solve()’: user.cpp:126:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &a.first, &a.second, &b.first, &b.second); ^ user.cpp: In function ‘int main()’: user.cpp:151:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri3.in", "r", stdin); ^ user.cpp:152:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri3.out", "w" ,stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms6616kbOK10
216ms6656kbOK10
3116ms8972kbOK10
4Depăşit17164kbTime limit exceeded.0
5Depăşit25236kbTime limit exceeded.0
6Depăşit17156kbTime limit exceeded.0
7Depăşit20608kbTime limit exceeded.0
8904ms16628kbOK10
91016ms17420kbOK10
101136ms18664kbOK10
Punctaj total60

Ceva nu functioneaza?