Borderou de evaluare (job #1471767)

Utilizator theprdvtheprdv theprdv Data 15 august 2015 07:59:30
Problema Ratina Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 75

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratina.in", "r", stdin); ^ user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratina.out", "w", stdout); ^ user.cpp:46:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &M); ^ user.cpp:48:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(W[i].A); ^ user.cpp:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &t); ^ user.cpp:65:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &val); ^ /tmp/ccT0t5ni.o: In function `main': user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1180ms2040kbOK5
2180ms2048kbOK5
320ms2372kbOK5
420ms2364kbOK5
520ms2360kbOK5
620ms2364kbOK5
7184ms2984kbOK5
8184ms2980kbOK5
9196ms2964kbOK5
10180ms2040kbOK5
11196ms2044kbOK5
12192ms2044kbOK5
13192ms2048kbOK5
14192ms2044kbOK5
15196ms2048kbOK5
1684msDepăşitMemory limit exceeded.0
1776msDepăşitMemory limit exceeded.0
1876msDepăşitMemory limit exceeded.0
1976msDepăşitMemory limit exceeded.0
2076msDepăşitMemory limit exceeded.0
Punctaj total75

Ceva nu functioneaza?