Borderou de evaluare (job #1905916)

Utilizator akaprosAna Kapros akapros Data 6 martie 2017 11:38:48
Problema Zone 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void get_badComp()’: user.cpp:65:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < V[x].size(); ++ i) ^ user.cpp: In function ‘void read()’: user.cpp:28:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &n, &m, &k); ^ user.cpp:30:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[i] + 1); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void read()’ at user.cpp:30:23: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/cce0a5uw.o: In function `read()': user.cpp:(.text+0x7d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
128ms3648kbOK10
20ms1572kbOK10
30ms1676kbOK10
44ms1852kbOK10
54ms1828kbOK10
64ms1828kbOK10
74ms1852kbOK10
812ms2488kbOK10
924ms3480kbOK10
1024ms3288kbOK10
Punctaj total100

Ceva nu functioneaza?