Borderou de evaluare (job #937459)

Utilizator GavrilaVladGavrila Vlad GavrilaVlad Data 10 aprilie 2013 13:47:30
Problema Enigma Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:37: warning: array subscript has type ‘char’ user.cpp:38: warning: array subscript has type ‘char’ user.cpp:39: warning: array subscript has type ‘char’ user.cpp:52: warning: array subscript has type ‘char’ user.cpp:54: warning: array subscript has type ‘char’ user.cpp:21: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:25: /usr/include/bits/stdio2.h:253: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms504kbOK10
24ms1000kbIncorect0
328ms11540kbOK10
452ms19784kbOK10
520ms3068kbOK10
632ms6448kbOK10
788ms16208kbOK10
896ms21112kbOK10
9408ms1736kbOK10
10100ms33624kbOK10
Punctaj total90

Ceva nu functioneaza?