Borderou de evaluare (job #663340)

Utilizator theodora_maneaManea Theodora Maria theodora_manea Data 18 ianuarie 2012 13:00:57
Problema Zip Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

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/ccdGi0oO.o: In function `main': user.cpp:(.text+0x1a6): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
212ms316kbOK10
316ms316kbIncorect0
412ms320kbIncorect0
512ms320kbIncorect0
612ms316kbIncorect0
712ms320kbIncorect0
80ms252kbIncorect0
912ms288kbIncorect0
108ms280kbIncorect0
Punctaj total20

Ceva nu functioneaza?