Borderou de evaluare (job #1219594)

Utilizator vasica38Vasile Catana vasica38 Data 14 august 2014 17:20:45
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:86: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
136ms292kbIncorect0
2Depăşit3072kbTime limit exceeded.0
3Depăşit412kbTime limit exceeded.0
4Depăşit584kbTime limit exceeded.0
5Depăşit3000kbTime limit exceeded.0
6Depăşit3016kbTime limit exceeded.0
7Depăşit3036kbTime limit exceeded.0
8Depăşit3068kbTime limit exceeded.0
9Depăşit3068kbTime limit exceeded.0
10Depăşit3072kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?