Borderou de evaluare (job #2224199)

Utilizator Ruxandra985Nanu Ruxandra Laura Ruxandra985 Data 23 iulie 2018 13:46:03
Problema Showroom Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:49:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;j<v[i].size();j++){ ~^~~~~~~~~~~~ user.cpp: In function ‘int comb(int, int)’: user.cpp:56:9: warning: unused variable ‘j’ [-Wunused-variable] int j,x,y; ^ user.cpp:56:11: warning: unused variable ‘x’ [-Wunused-variable] int j,x,y; ^ user.cpp:56:13: warning: unused variable ‘y’ [-Wunused-variable] int j,x,y; ^ user.cpp: In function ‘int main()’: user.cpp:73:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin,"%d%d%d%d\n",&n,&aa,&r,&k); ^ user.cpp:76:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets (s,4000,fin); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/6/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:76:27: /usr/include/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1540kbOK10
20ms1556kbOK10
30ms1648kbOK10
44ms1752kbOK10
536ms2104kbOK10
6108ms2592kbOK10
7304ms2796kbOK10
8Depăşit2300kbTime limit exceeded.0
9104ms2528kbOK10
10Depăşit1812kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?