Borderou de evaluare (job #1728692)

Utilizator antanaAntonia Boca antana Data 13 iulie 2016 15:46:06
Problema Text3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text3.in", "r", stdin); ^ user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text3.out", "w", stdout); ^ user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:37:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:53:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:60:17: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] afisare(pos); ^ /tmp/ccnBJ4Jh.o: In function `main': user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit792kbTime limit exceeded.0
2Depăşit796kbTime limit exceeded.0
3Depăşit488kbTime limit exceeded.0
4Depăşit796kbTime limit exceeded.0
5Depăşit792kbTime limit exceeded.0
60ms336kbKilled by signal 6(SIGABRT).0
70ms256kbKilled by signal 11(SIGSEGV).0
8Depăşit792kbTime limit exceeded.0
90ms272kbRaspuns gresit0
100ms272kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?