Borderou de evaluare (job #1582545)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 28 ianuarie 2016 02:08:10
Problema Propozitie2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "propozitie2.in" , "r", stdin ); ^ user.cpp:25:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "propozitie2.out", "w", stdout ); ^ user.cpp:27:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets( S + 1, DIM, stdin ); N = strlen( S + 1 ) - 1; ^ user.cpp:28:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d", &M ); ^ user.cpp:38:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets( W + 1, DIM, stdin ); ^ user.cpp:41:38: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets( X[i] + 1, DIM, 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 ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:27:31: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^ In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:38:31: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms372kbKilled by signal 11(SIGSEGV).00
20ms372kbKilled by signal 11(SIGSEGV).00
30ms544kbKilled by signal 11(SIGSEGV).00
416ms464kbIncorect00
50ms576kbKilled by signal 11(SIGSEGV).00
6Depăşit1124kbTime limit exceeded.00
7Depăşit860kbTime limit exceeded.0
84ms1136kbKilled by signal 11(SIGSEGV).00
9Depăşit1012kbTime limit exceeded.0
10396ms1168kbKilled by signal 11(SIGSEGV).00
Punctaj total0

Ceva nu functioneaza?