Borderou de evaluare (job #2224206)

Utilizator Ruxandra985Nanu Ruxandra Laura Ruxandra985 Data 23 iulie 2018 14:10:24
Problema Showroom Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:35:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;j<v[i].size();j++){ ~^~~~~~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:58: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:61: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:61: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
10ms1544kbOK10
20ms1560kbOK10
30ms1656kbOK10
44ms1752kbOK10
512ms2124kbOK10
624ms2636kbOK10
740ms2852kbOK10
8140ms3108kbOK10
9104ms3108kbOK10
10140ms2116kbOK10
Punctaj total100

Ceva nu functioneaza?