Pagini recente » Borderou de evaluare (job #1124723) | Borderou de evaluare (job #2631927) | Borderou de evaluare (job #1436269) | Borderou de evaluare (job #924611) | Borderou de evaluare (job #1096044)
Borderou de evaluare (job #1096044)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int calcul(int, int)’:
user.cpp:10:33: warning: value computed is not used [-Wunused-value]
if (n<0) calcul(1/n,p*(-1))%MOD;
^
user.cpp: In function ‘int main()’:
user.cpp:22:25: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%u %u", &n,&p);
^
user.cpp:22:25: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:24:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%u", calcul(n,p));
^
user.cpp: In function ‘long long int calcul(int, int)’:
user.cpp:15:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Incorect | 0 |
2 | 0ms | 236kb | Incorect | 0 |
3 | 0ms | 236kb | Incorect | 0 |
4 | 0ms | 232kb | Incorect | 0 |
5 | 0ms | 236kb | Incorect | 0 |
6 | 0ms | 236kb | Incorect | 0 |
7 | 0ms | 236kb | Incorect | 0 |
8 | 0ms | 232kb | OK | 10 |
9 | 0ms | 236kb | Incorect | 0 |
10 | 0ms | 232kb | Incorect | 0 |
Punctaj total | 10 |