Borderou de evaluare (job #1736388)

Utilizator borcanirobertBorcani Robert borcanirobert Data 1 august 2016 17:27:50
Problema Vagoane Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘LL {aka long long unsigned int}’ [-Wformat=] fprintf( g, "%d\n", rez ); ^ user.cpp: In function ‘void Read()’: user.cpp:67:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LL* {aka long long unsigned int*}’ [-Wformat=] fscanf( f, "%d%d%d", &N, &M, &C ); ^ user.cpp:67:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘LL* {aka long long unsigned int*}’ [-Wformat=] user.cpp:67:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘LL* {aka long long unsigned int*}’ [-Wformat=] user.cpp:70:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 1; i <= M; i++ ) ^ user.cpp:65:18: warning: unused variable ‘j’ [-Wunused-variable] int i, x, y, j; ^ user.cpp: In function ‘void Solve()’: user.cpp:96:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 2; i <= N; i++ ) ^ user.cpp:99:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( j = 1; j <= M; j++ ) ^ user.cpp:86:9: warning: unused variable ‘x’ [-Wunused-variable] int x, y; ^ user.cpp:86:12: warning: unused variable ‘y’ [-Wunused-variable] int x, y; ^ user.cpp: In function ‘void Next()’: user.cpp:58:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] std::fread(r, 1, MAXR, f); ^ user.cpp: In function ‘void Read()’: user.cpp:67:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( f, "%d%d%d", &N, &M, &C ); ^ user.cpp:74:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( f, "%d%d", &x, &y ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit412kbTime limit exceeded.00
20ms452kbIncorect00
30ms448kbIncorect0
4172ms2000kbIncorect00
5180ms1996kbIncorect0
6180ms2000kbIncorect0
7Depăşit1972kbTime limit exceeded.00
8Depăşit1956kbTime limit exceeded.0
9Depăşit1972kbTime limit exceeded.0
10Depăşit1936kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?