Borderou de evaluare (job #1470171)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 10 august 2015 15:16:49
Problema Dreptunghiuri5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int it = 1; it < v.size() ; ++it) ^ user.cpp:17:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dreptunghiuri5.in","r",stdin); ^ user.cpp:18:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dreptunghiuri5.out","w",stdout); ^ user.cpp:20:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:24:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); ^ /tmp/ccLxbDMb.o: In function `main': user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms356kbOK1010
20ms356kbOK1010
30ms1068kbOK1010
40ms1072kbOK1010
556ms8172kbOK1020
656ms8164kbOK10
756ms8168kbOK1020
856ms8164kbOK10
956ms8172kbOK1020
1032ms8176kbOK10
Punctaj total100

Ceva nu functioneaza?