Borderou de evaluare (job #1812873)

Utilizator BovisioNitica Ionut Bogdan Bovisio Data 22 noiembrie 2016 15:13:03
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:24: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i %i",&a,&b); ^ user.cpp:12:24: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:15:18: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%i",c); ^ user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lgput.in","r",stdin); ^ user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lgput.out","w",stdout); ^ user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit232kbTime limit exceeded.0
2Depăşit236kbTime limit exceeded.0
3Depăşit232kbTime limit exceeded.0
4Depăşit232kbTime limit exceeded.0
50ms272kbOK10
6Depăşit236kbTime limit exceeded.0
724ms268kbOK10
80ms264kbOK10
9Depăşit236kbTime limit exceeded.0
10Depăşit232kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?