Borderou de evaluare (job #1732722)

Utilizator akaprosAna Kapros akapros Data 22 iulie 2016 14:31:31
Problema Cabane Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:20:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d", &n, &k); ^ user.cpp:20:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp: In function ‘void prec()’: user.cpp:77:33: warning: unused variable ‘ak’ [-Wunused-variable] int ak = 47; ^ user.cpp: In function ‘void solve()’: user.cpp:9:11: warning: unused variable ‘first’ [-Wunused-variable] #define f first ^ user.cpp:91:31: note: in expansion of macro ‘f’ short int i, j, K = k, x, f = 1; ^ user.cpp: In function ‘void read()’: user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cabane.in", "r", stdin); ^ user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ user.cpp: In function ‘void write()’: user.cpp:118:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cabane.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
148msDepăşitMemory limit exceeded.0
248msDepăşitMemory limit exceeded.0
348msDepăşitMemory limit exceeded.0
448msDepăşitMemory limit exceeded.0
552msDepăşitMemory limit exceeded.0
6132msDepăşitMemory limit exceeded.0
7132msDepăşitMemory limit exceeded.0
8132msDepăşitMemory limit exceeded.0
9132msDepăşitMemory limit exceeded.0
10132msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?