Pagini recente » Borderou de evaluare (job #2162464) | Borderou de evaluare (job #2680394) | Borderou de evaluare (job #2710726) | Borderou de evaluare (job #641551) | Borderou de evaluare (job #1429030)
Borderou de evaluare (job #1429030)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:62: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%i\n", (power(2, impar + par - 1) + MOD - 1) % MOD);
^
user.cpp:46:50: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%i\n", (power(2, par) + MOD - 1) % MOD);
^
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("azerah.in", "r", stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("azerah.out", "w", stdout);
^
user.cpp:27:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &t);
^
user.cpp:30:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &n);
^
user.cpp:35:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", v + j);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 244ms | 812kb | OK | 100 |
Punctaj total | 100 |