Pagini recente » Borderou de evaluare (job #1935937) | Borderou de evaluare (job #408552) | Borderou de evaluare (job #2734691) | Borderou de evaluare (job #505029) | Borderou de evaluare (job #2404568)
Borderou de evaluare (job #2404568)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:28: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld %ld", &A, &M);
^
main.cpp:21:28: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:22:40: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
printf("%ld\n", expLog_modM(A, M-2));
^
main.cpp:18:44: 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:19:46: 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:21:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &A, &M);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 10 |