Pagini recente » Borderou de evaluare (job #1101759) | Borderou de evaluare (job #2161822) | Borderou de evaluare (job #2664800) | Borderou de evaluare (job #1026034) | Borderou de evaluare (job #1328956)
Borderou de evaluare (job #1328956)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(n%2) printf("%d\n",(4LL*x*k*x)%mod);
^
user.cpp:18:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf("%d\n",(2LL*x*x)%mod);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("urat.in", "r", stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("urat.out", "w", stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Like a boss ! | 10 |
2 | 0ms | 264kb | Like a boss ! | 10 |
3 | 0ms | 268kb | Like a boss ! | 10 |
4 | 8ms | 388kb | Like a boss ! | 10 |
5 | 12ms | 464kb | Like a boss ! | 10 |
6 | 24ms | 656kb | Like a boss ! | 10 |
7 | 52ms | 1052kb | Like a boss ! | 10 |
8 | 76ms | 1436kb | Like a boss ! | 10 |
9 | 104ms | 1828kb | Like a boss ! | 10 |
10 | 132ms | 2216kb | Like a boss ! | 10 |
Punctaj total | 100 |