Borderou de evaluare (job #1569030)

Utilizator RaduToporanRadu Toporan RaduToporan Data 14 ianuarie 2016 21:56:22
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:18:33: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[15]’ [-Wformat=] scanf("%d%d%s",&p,&n,&cuvord); ^ user.cpp:24:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[7]’ [-Wformat=] scanf("%s",&cuvant); ^ user.cpp:18:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%s",&p,&n,&cuvord); ^ user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&cuvant); ^ user.cpp: In function ‘int main()’: user.cpp:38: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:39: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms340kbKilled by signal 6(SIGABRT).0
20ms336kbKilled by signal 6(SIGABRT).0
30ms336kbKilled by signal 6(SIGABRT).0
40ms340kbKilled by signal 6(SIGABRT).0
50ms340kbKilled by signal 6(SIGABRT).0
60ms340kbKilled by signal 6(SIGABRT).0
70ms340kbKilled by signal 6(SIGABRT).0
80ms340kbKilled by signal 6(SIGABRT).0
90ms332kbKilled by signal 6(SIGABRT).0
100ms340kbKilled by signal 6(SIGABRT).0
110ms332kbKilled by signal 6(SIGABRT).0
120ms340kbKilled by signal 6(SIGABRT).0
130ms340kbKilled by signal 6(SIGABRT).0
140ms332kbKilled by signal 6(SIGABRT).0
150ms336kbKilled by signal 6(SIGABRT).0
160ms336kbKilled by signal 6(SIGABRT).0
170ms336kbKilled by signal 6(SIGABRT).0
180ms332kbKilled by signal 6(SIGABRT).0
190ms336kbKilled by signal 6(SIGABRT).0
200ms332kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?