Pagini recente » Borderou de evaluare (job #1024371) | Borderou de evaluare (job #1470227) | Borderou de evaluare (job #2415841) | Borderou de evaluare (job #2370012) | Borderou de evaluare (job #2502920)
Borderou de evaluare (job #2502920)
Raport evaluator
Compilare:
main.cpp: In function 'int32_t main()':
main.cpp:21:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d %d",&a,&n);
^
main.cpp:21:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:23:26: 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:19:40: 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:20:42: 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:23: 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 |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |