Borderou de evaluare (job #663339)

Utilizator theodora_maneaManea Theodora Maria theodora_manea Data 18 ianuarie 2012 12:55:57
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/ccmoF67i.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
420ms324kbIncorect0
520ms320kbOK10
620ms320kbIncorect0
720ms320kbIncorect0
80ms248kbIncorect0
916ms288kbOK10
1016ms284kbOK10
Punctaj total40

Ceva nu functioneaza?