Borderou de evaluare (job #1583531)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 29 ianuarie 2016 00:44:14
Problema Disconnect Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void getComponentSize(int, int)’: user.cpp:31:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < adjList[u].size(); i++) { ^ user.cpp: In function ‘void setComponent(int, int)’: user.cpp:56:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < adjList[u].size(); i++) { ^ user.cpp: In function ‘int main()’: user.cpp:80:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disconnect.in", "r", stdin); ^ user.cpp:81:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disconnect.out", "w", stdout); ^ user.cpp:85: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:87:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(BUFF + 1); ^ user.cpp:97:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(BUFF + 1); ^ /tmp/ccBq2tbx.o: In function `main': user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1436kbOK10
24ms1456kbOK10
3120ms1544kbOK10
4132ms1660kbOK10
5288ms3128kbOK10
6248ms3352kbOK10
7Depăşit3500kbTime limit exceeded.0
8376ms3592kbOK10
9312ms3692kbOK10
10236ms3684kbOK10
Punctaj total90

Ceva nu functioneaza?