Borderou de evaluare (job #786918)

Utilizator rzvrzvNicolescu Razvan rzvrzv Data 12 septembrie 2012 12:58:54
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/ccOlsQ5j.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
128ms15880kbOk10
228ms15868kbOk10
328ms15884kbOk10
428ms15884kbOk10
528ms15904kbOk10
628ms15900kbOk10
732ms15948kbOk10
832ms15912kbOk10
964ms16244kbOk10
1056ms16164kbOk10
Punctaj total100

Ceva nu functioneaza?