Borderou de evaluare (job #1420332)

Utilizator livliviLivia Magureanu livlivi Data 18 aprilie 2015 11:59:49
Problema Harta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘punct get()’: user.cpp:32:17: warning: NULL used in arithmetic [-Wpointer-arith] while(s[j]!=NULL){ ^ user.cpp: In function ‘int main()’: user.cpp:108:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin,"%d\n",&n); ^ user.cpp:110:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s,25,fin); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:110:24: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1252kbWrong0
24ms1268kbWrong0
38ms1268kbWrong0
416ms1384kbOkay10
552ms1728kbOkay10
664ms1964kbWrong0
7112ms2088kbWrong0
8136ms2084kbWrong0
9140ms2196kbWrong0
10192ms2436kbWrong0
Punctaj total20

Ceva nu functioneaza?