Borderou de evaluare (job #2224192)

Utilizator Ruxandra985Nanu Ruxandra Laura Ruxandra985 Data 23 iulie 2018 13:25:42
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 main()’: user.cpp:81: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:84: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:84: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
10ms1352kbOK10
20ms1364kbOK10
30ms1452kbOK10
44ms1552kbOK10
536ms1904kbOK10
6108ms2392kbOK10
7304ms2604kbOK10
8Depăşit2108kbTime limit exceeded.0
9100ms2328kbOK10
10Depăşit1616kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?