Borderou de evaluare (job #1579407)

Utilizator heracleRadu Muntean heracle Data 24 ianuarie 2016 18:34:24
Problema Enigma Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:63:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out,"%d\n",r[n]); ^ user.cpp:22:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d\n",&n,&c); ^ user.cpp:24:20: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(v+1,Q,in); ^ user.cpp:27:21: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(t[i],100,in); ^ 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:24:20: /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
10ms408kbOK10
24ms588kbOK10
3420ms13096kbOK10
4Depăşit19080kbTime limit exceeded.0
5Depăşit19060kbTime limit exceeded.0
6Depăşit19168kbTime limit exceeded.0
7Depăşit19184kbTime limit exceeded.0
8Depăşit19292kbTime limit exceeded.0
9Depăşit968kbTime limit exceeded.0
10Depăşit19332kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?