Borderou de evaluare (job #1844765)

Utilizator antanaAntonia Boca antana Data 10 ianuarie 2017 14:08:21
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 95

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cobai.in", "r", stdin); ^ user.cpp:58:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cobai.out", "w", stdout); ^ user.cpp:62:28: 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:65:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[i]+1); ^ user.cpp:67:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(way+1); ^ user.cpp: In function ‘void addInQueue(int, int, int)’: user.cpp:49:18: warning: ‘col’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(a[row][col] == '+' || a[row][col] == '*') ^ user.cpp:49:18: warning: ‘row’ may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:65:21: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/cct2wNek.o: In function `main': user.cpp:(.text.startup+0x82): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOk!5
20ms308kbOk!5
30ms452kbOk!5
40ms468kbOk!5
50ms628kbOk!5
60ms756kbOk!5
70ms840kbOk!5
80ms800kbOk!5
90ms1072kbOk!5
104ms1488kbOk!5
114ms2040kbOk!5
128ms2516kbOk!5
138ms3040kbOk!5
1416ms4888kbOk!5
158ms3324kbOk!5
168ms3392kbOk!5
174ms2132kbOk!5
1840ms9936kbOk!5
1944ms10876kbOk!5
20Depăşit13420kbTime limit exceeded.0
Punctaj total95

Ceva nu functioneaza?