Borderou de evaluare (job #1745971)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 22 august 2016 16:26:06
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int Search(char)’: user.cpp:42:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:45:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zimeria.in","r",stdin); ^ user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zimeria.out","w",stdout); ^ user.cpp:47:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&p,&N); ^ user.cpp:49:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&junk); ^ user.cpp:51:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&Sigma[i].ch),Sigma[i].pos=i; ^ user.cpp:55:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&junk); ^ user.cpp:59:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(word); ^ /tmp/ccRnCsjS.o: In function `main': user.cpp:(.text.startup+0x14c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms344kbKilled by signal 6(SIGABRT).0
20ms348kbKilled by signal 6(SIGABRT).0
30ms348kbKilled by signal 6(SIGABRT).0
40ms344kbKilled by signal 6(SIGABRT).0
50ms348kbKilled by signal 6(SIGABRT).0
60ms348kbKilled by signal 6(SIGABRT).0
70ms344kbKilled by signal 6(SIGABRT).0
80ms340kbKilled by signal 6(SIGABRT).0
90ms344kbKilled by signal 6(SIGABRT).0
100ms340kbKilled by signal 6(SIGABRT).0
110ms348kbKilled by signal 6(SIGABRT).0
120ms344kbKilled by signal 6(SIGABRT).0
130ms344kbKilled by signal 6(SIGABRT).0
140ms344kbKilled by signal 6(SIGABRT).0
150ms344kbKilled by signal 6(SIGABRT).0
160ms348kbKilled by signal 6(SIGABRT).0
170ms348kbKilled by signal 6(SIGABRT).0
180ms344kbKilled by signal 6(SIGABRT).0
190ms344kbKilled by signal 6(SIGABRT).0
200ms344kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?