Borderou de evaluare (job #2263631)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 18 octombrie 2018 22:15:31
Problema Iepuri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:157:71: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n", ((a*x*1LL)%mod+(b*y*1LL)%mod+(c*z*1LL)%mod)%mod); ^ main.cpp:140:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("iepuri.in", "r", stdin); ^ main.cpp:141:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("iepuri.out", "w", stdout); ^ main.cpp:143:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ main.cpp:146:70: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d %d %lld\n", &x, &y, &z, &a, &b, &c, &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOk!10
22ms131kbRaspuns gresit!0
32ms131kbOk!10
42ms131kbOk!10
52ms131kbOk!10
62ms131kbRaspuns gresit!0
72ms131kbOk!10
83ms131kbRaspuns gresit!0
93ms131kbOk!10
105ms131kbRaspuns gresit!0
Punctaj total60

Ceva nu functioneaza?