Pagini recente » Borderou de evaluare (job #2212303) | Borderou de evaluare (job #2597958) | Borderou de evaluare (job #1211215) | Borderou de evaluare (job #820103) | Borderou de evaluare (job #2140130)
Borderou de evaluare (job #2140130)
Raport evaluator
Compilare:
user.cpp: In function ‘i32 main()’:
user.cpp:37:90: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘i64 {aka long long int}’ [-Wformat=]
printf("%d\n", ((i64)expo(P * K, (M - 1) * (N - 1)) * expo(P, M + N - 1)) % 10007);
^
user.cpp: At global scope:
user.cpp:8:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) i32 expo(i32 A, i32 B)
^
user.cpp: In function ‘i32 main()’:
user.cpp:28:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice5.in", "r", stdin);
^
user.cpp:29:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice5.out", "w", stdout);
^
user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:35:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &N, &M, &P, &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 160ms | 816kb | OK | 100 |
Punctaj total | 100 |