Borderou de evaluare (job #1373668)

Utilizator robertstrecheStreche Robert robertstreche Data 4 martie 2015 19:58:55
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:34: 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:23:36: 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:25:27: 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:26:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff,1,NMAX*NMAX+NRS,stdin); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘size_t fread(void*, size_t, size_t, FILE*)’, inlined from ‘int main()’ at user.cpp:26:38: /usr/include/i386-linux-gnu/bits/stdio2.h:285:71: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [enabled by default] return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms360kbKilled by signal 6(SIGABRT).0
20ms364kbKilled by signal 6(SIGABRT).0
30ms364kbKilled by signal 6(SIGABRT).0
40ms364kbKilled by signal 6(SIGABRT).0
50ms364kbKilled by signal 6(SIGABRT).0
60ms364kbKilled by signal 6(SIGABRT).0
70ms364kbKilled by signal 6(SIGABRT).0
80ms364kbKilled by signal 6(SIGABRT).0
90ms364kbKilled by signal 6(SIGABRT).0
100ms360kbKilled by signal 6(SIGABRT).0
110ms360kbKilled by signal 6(SIGABRT).0
120ms360kbKilled by signal 6(SIGABRT).0
130ms364kbKilled by signal 6(SIGABRT).0
140ms364kbKilled by signal 6(SIGABRT).0
150ms360kbKilled by signal 6(SIGABRT).0
160ms356kbKilled by signal 6(SIGABRT).0
170ms364kbKilled by signal 6(SIGABRT).0
180ms364kbKilled by signal 6(SIGABRT).0
190ms360kbKilled by signal 6(SIGABRT).0
200ms360kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?