Borderou de evaluare (job #1488492)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 19 septembrie 2015 08:59:15
Problema Domino Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:21: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:40:21: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:40:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:42:78: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(r),h[10*(r[0]-'0')+(r[2]-'0')][f[10*(r[0]-'0')+(r[2]-'0')]++]=i; ^ /tmp/cciIauZJ.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
10ms336kbKilled by signal 6(SIGABRT).0
20ms332kbKilled by signal 6(SIGABRT).0
30ms332kbKilled by signal 6(SIGABRT).0
40ms332kbKilled by signal 6(SIGABRT).0
50ms336kbKilled by signal 6(SIGABRT).0
60ms332kbKilled by signal 6(SIGABRT).0
70ms332kbKilled by signal 6(SIGABRT).0
80ms336kbKilled by signal 6(SIGABRT).0
90ms332kbKilled by signal 6(SIGABRT).0
100ms336kbKilled by signal 6(SIGABRT).0
110ms328kbKilled by signal 6(SIGABRT).0
120ms336kbKilled by signal 6(SIGABRT).0
130ms336kbKilled by signal 6(SIGABRT).0
140ms332kbKilled by signal 6(SIGABRT).0
150ms328kbKilled by signal 6(SIGABRT).0
160ms332kbKilled by signal 6(SIGABRT).0
170ms336kbKilled by signal 6(SIGABRT).0
180ms332kbKilled by signal 6(SIGABRT).0
190ms332kbKilled by signal 6(SIGABRT).0
200ms332kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?