Borderou de evaluare (job #663880)

Utilizator theodora_maneaManea Theodora Maria theodora_manea Data 19 ianuarie 2012 09:00:56
Problema Zip Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘unsigned int dist(int, int)’: user.cpp:30: warning: comparison between signed and unsigned integer expressions user.cpp: In function ‘int main()’: user.cpp:52: warning: comparison between signed and unsigned integer expressions user.cpp:58: warning: comparison between signed and unsigned integer expressions user.cpp:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:41: /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/ccP3Cy8G.o: In function `main': user.cpp:(.text+0x196): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
212ms324kbIncorect0
328ms320kbIncorect0
420ms316kbIncorect0
520ms324kbOK10
620ms324kbIncorect0
720ms320kbIncorect0
80ms248kbIncorect0
916ms284kbOK10
1016ms284kbOK10
Punctaj total40

Ceva nu functioneaza?