Borderou de evaluare (job #1725463)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 5 iulie 2016 18:55:33
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] scanf("%d%d",&p,&N); ^ user.cpp: In function ‘void Read(short unsigned int)’: user.cpp:13:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&Ch); ^ user.cpp: In function ‘bool Compare(int, int)’: user.cpp:26:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interesant.in","r",stdin); ^ user.cpp:41:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interesant.out","w",stdout); ^ user.cpp:42:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&p,&N); ^ user.cpp:56:37: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(unsigned short i=1;i<=v[pos][0];i++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit372kbTime limit exceeded.00
2Depăşit372kbTime limit exceeded.0
3Depăşit368kbTime limit exceeded.0
4Depăşit372kbTime limit exceeded.0
5Depăşit372kbTime limit exceeded.00
6Depăşit372kbTime limit exceeded.00
7Depăşit376kbTime limit exceeded.00
8Depăşit376kbTime limit exceeded.00
9Depăşit372kbTime limit exceeded.00
10Depăşit368kbTime limit exceeded.00
11Depăşit372kbTime limit exceeded.00
12Depăşit372kbTime limit exceeded.00
13Depăşit368kbTime limit exceeded.00
14Depăşit372kbTime limit exceeded.00
15Depăşit376kbTime limit exceeded.00
16Depăşit368kbTime limit exceeded.00
17Depăşit368kbTime limit exceeded.00
18Depăşit368kbTime limit exceeded.00
19Depăşit368kbTime limit exceeded.00
20Depăşit372kbTime limit exceeded.00
21Depăşit368kbTime limit exceeded.00
22Depăşit372kbTime limit exceeded.00
Punctaj total0

Ceva nu functioneaza?