Borderou de evaluare (job #1807992)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 17 noiembrie 2016 10:20:02
Problema Secventa 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool cmp(P, P)’: user.cpp:18:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:29:41: warning: narrowing conversion of ‘i’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing] else nor.push_back({x, 1, i}); ^ user.cpp:31:37: warning: narrowing conversion of ‘i’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing] else nor.push_back({x, 1, i}); ^ user.cpp:34:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < nor.size(); i++) { ^ user.cpp:38:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = i+1; j < nor.size(); j++) { ^ user.cpp:48:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(g, "%d", s); ^ user.cpp:23:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d\n", &n, &l, &u); ^ user.cpp:25:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms424kbIncorect0
2752ms516kbIncorect0
3Depăşit656kbTime limit exceeded.0
4Depăşit1240kbTime limit exceeded.0
5Depăşit1960kbTime limit exceeded.0
6Depăşit3396kbTime limit exceeded.0
7Depăşit6692kbTime limit exceeded.0
8Depăşit12560kbTime limit exceeded.0
9Depăşit12560kbTime limit exceeded.0
10Depăşit12600kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?