Pagini recente » Borderou de evaluare (job #56795) | Borderou de evaluare (job #1869846) | Borderou de evaluare (job #111482) | Borderou de evaluare (job #856680) | Borderou de evaluare (job #2304945)
Borderou de evaluare (job #2304945)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:26: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
printf("%ld\n", x % n);
^
main.cpp:29: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:30: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:32:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &a, &n);
^
main.cpp:36:11: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%ld\n", x % n);
~~~~~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | OK | 10 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 50 |