Borderou de evaluare (job #1894016)

Utilizator alittlezzCazaciuc Valentin alittlezz Data 26 februarie 2017 13:13:41
Problema NumereX Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘long long int query(int, int, int)’: user.cpp:37:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:67:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numerex.in", "r", stdin); ^ user.cpp:68:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numerex.out", "w", stdout); ^ user.cpp:70:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &q); ^ user.cpp:73:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &op); ^ user.cpp:75:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &qlf, &qrg, &val); ^ user.cpp:79:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &qlf, &qrg); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms5132kbOK10
28ms5292kbOK10
320ms6516kbOK10
4132msDepăşitMemory limit exceeded.0
5132msDepăşitMemory limit exceeded.0
6132msDepăşitMemory limit exceeded.0
7132msDepăşitMemory limit exceeded.0
8128msDepăşitMemory limit exceeded.0
9128msDepăşitMemory limit exceeded.0
10128msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?