Borderou de evaluare (job #1219589)

Utilizator vasica38Vasile Catana vasica38 Data 14 august 2014 17:08:48
Problema Biscuiti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citeste()’: user.cpp:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n);s=0; ^ user.cpp:14:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&a[i]); ^ user.cpp: In function ‘int main()’: user.cpp:85:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",s1-s); ^ user.cpp: In function ‘void citeste()’: user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biscuiti.in","r",stdin); ^ user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biscuiti.out","w",stdout); ^ user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n);s=0; ^ user.cpp:14:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
136ms304kbIncorect0
2Depăşit3076kbTime limit exceeded.0
3Depăşit416kbTime limit exceeded.0
4Depăşit580kbTime limit exceeded.0
5Depăşit3004kbTime limit exceeded.0
6Depăşit3024kbTime limit exceeded.0
7Depăşit3044kbTime limit exceeded.0
8Depăşit3072kbTime limit exceeded.0
9Depăşit3068kbTime limit exceeded.0
10Depăşit3080kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?