Borderou de evaluare (job #752817)

Utilizator geniucosOncescu Costin geniucos Data 29 mai 2012 17:40:06
Problema Parcare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long long int*’ user.cpp:277: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long long int’ user.cpp:279: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long long int’ user.cpp:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:31: warning: ignoring return value of ‘char* gets(char*)’, 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* gets(char*)’, inlined from ‘int main()’ at user.cpp:31: /usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/ccYAuDE8.o: In function `main': user.cpp:(.text+0x5fc): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms15880kbOk10
224ms15876kbOk10
324ms15880kbOk10
424ms15892kbOk10
528ms15904kbOk10
624ms15900kbOk10
732ms15944kbOk10
828ms15908kbOk10
960ms16240kbOk10
1052ms16156kbOk10
Punctaj total100

Ceva nu functioneaza?