Borderou de evaluare (job #1466144)

Utilizator stefanzzzStefan Popa stefanzzz Data 28 iulie 2015 18:10:34
Problema Invazie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d %lld", &k, &p, &n); ^ user.cpp:20:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:26:80: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", ((plog(k + p, n) + plog(k - p + mod, n)) * 333007) % mod); ^ user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("invazie.in", "r", stdin); ^ user.cpp:16:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("invazie.out", "w", stdout); ^ user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nrt); ^ user.cpp:20:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %lld", &k, &p, &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms284kbOK10
3996ms292kbIncorect0
4996ms292kbIncorect0
5Depăşit288kbTime limit exceeded.0
6848ms292kbIncorect0
7744ms288kbIncorect0
8676ms288kbIncorect0
9616ms288kbIncorect0
10Depăşit288kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?