Borderou de evaluare (job #1423984)

Utilizator livliviLivia Magureanu livlivi Data 23 aprilie 2015 08:46:08
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:109: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:111: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:111: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
18ms1260kbWrong0
24ms1268kbWrong0
34ms1272kbWrong0
416ms1380kbOkay10
544ms1732kbOkay10
656ms1964kbWrong0
788ms2084kbWrong0
8108ms2080kbWrong0
9108ms2200kbWrong0
10160ms2440kbWrong0
Punctaj total20

Ceva nu functioneaza?