Borderou de evaluare (job #2646820)

Utilizator teofilotopeniTeofil teofilotopeni Data 2 septembrie 2020 08:51:35
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d %d", &n, &p); ^ main.cpp:10:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:6:31: 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); ^ main.cpp:7:33: 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); ^ main.cpp:10:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
153ms131kbTime limit exceeded0
253ms131kbTime limit exceeded0
353ms131kbTime limit exceeded0
453ms131kbTime limit exceeded0
52ms131kbOK10
653ms131kbTime limit exceeded0
718ms131kbOK10
82ms131kbOK10
953ms131kbTime limit exceeded0
1053ms131kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?