Borderou de evaluare (job #1842724)

Utilizator SMerlinJacobsen Iandru SMerlin Data 7 ianuarie 2017 15:03:58
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:4:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable:4996) ^ user.cpp: In function ‘int main()’: user.cpp:19:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d %I64d", &n, &p); ^ user.cpp:19:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:20:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d", exp_by_squaring(n, p)%mod); ^ user.cpp:19:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d %I64d", &n, &p); ^ user.cpp:22:17: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result] system("Pause"); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbBlocked system call: clone.0
20ms248kbBlocked system call: clone.0
30ms248kbBlocked system call: clone.0
40ms256kbBlocked system call: clone.0
50ms252kbBlocked system call: clone.0
60ms248kbBlocked system call: clone.0
70ms252kbBlocked system call: clone.0
80ms248kbBlocked system call: clone.0
90ms248kbBlocked system call: clone.0
100ms252kbBlocked system call: clone.0
Punctaj total0

Ceva nu functioneaza?