Borderou de evaluare (job #1756437)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 12 septembrie 2016 20:41:27
Problema Tri3 Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 100

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:128: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:128:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:128:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:128: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(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:128: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:153: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:154: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
112ms6624kbOK10
212ms6668kbOK10
3108ms8972kbOK10
4244ms17168kbOK10
5492ms25180kbOK10
6848ms17156kbOK10
71144ms20520kbOK10
8632ms16628kbOK10
9708ms17684kbOK10
10772ms18672kbOK10
Punctaj total100

Ceva nu functioneaza?