Borderou de evaluare (job #1999080)

Utilizator dragomirmanuelDragomir Manuel dragomirmanuel Data 10 iulie 2017 10:39:11
Problema Nrsec Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:23:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &x); ^ user.cpp:15: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:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp: In function ‘int main()’: user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nrsec.in", "r", stdin); ^ user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nrsec.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
20ms492kbOK10
3108ms2376kbOK10
4152msDepăşitMemory limit exceeded.0
5184msDepăşitMemory limit exceeded.0
6228msDepăşitMemory limit exceeded.0
7228msDepăşitMemory limit exceeded.0
8228msDepăşitMemory limit exceeded.0
9228msDepăşitMemory limit exceeded.0
10228msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?