Borderou de evaluare (job #1748128)

Utilizator preda.andreiPreda Andrei preda.andrei Data 26 august 2016 10:54:19
Problema Perle Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &t); ^ user.cpp:23:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%*c", &n); ^ user.cpp:25:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(sir, 2 * NMAX, 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:25:34: /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
10ms272kbOK!10
20ms264kbOK!10
30ms268kbOK!10
4Depăşit264kbTime limit exceeded.0
50ms264kbOK!10
60ms268kbOK!10
7Depăşit248kbTime limit exceeded.0
8Depăşit256kbTime limit exceeded.0
90ms360kbKilled by signal 6(SIGABRT).0
100ms364kbKilled by signal 6(SIGABRT).0
Punctaj total50

Ceva nu functioneaza?