Borderou de evaluare (job #2504432)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 4 decembrie 2019 21:59:54
Problema Invers modular Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int32_t main()': main.cpp:18:31: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf ("%d %d", &a, &n); ^ main.cpp:18:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:20:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf ("%d", ( (x % n) + n) % n); ^ main.cpp:16:49: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("inversmodular.in", "r", stdin); ^ main.cpp:17:51: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("inversmodular.out", "w", stdout); ^ main.cpp:18:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &a, &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
63ms131kbOK10
72ms131kbOK10
82ms131kbOK10
92ms131kbOK10
103ms131kbOK10
Punctaj total100

Ceva nu functioneaza?