Pagini recente » Borderou de evaluare (job #1131132) | Borderou de evaluare (job #661744) | Borderou de evaluare (job #1283108) | Borderou de evaluare (job #1116696) | Borderou de evaluare (job #1464257)
Borderou de evaluare (job #1464257)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&p);
^
user.cpp:28:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:29:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",ridic(n,p)%mod);
^
user.cpp: In function ‘long long int ridic(long long int, long long int)’:
user.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.in","r",stdin);
^
user.cpp:27:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.out","w",stdout);
^
user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | Incorect | 0 |
| 2 | 0ms | 276kb | Incorect | 0 |
| 3 | 0ms | 276kb | Incorect | 0 |
| 4 | 0ms | 276kb | Incorect | 0 |
| 5 | 0ms | 272kb | Incorect | 0 |
| 6 | 0ms | 276kb | OK | 10 |
| 7 | 0ms | 280kb | OK | 10 |
| 8 | 0ms | 280kb | OK | 10 |
| 9 | 0ms | 276kb | Incorect | 0 |
| 10 | 0ms | 276kb | Incorect | 0 |
| Punctaj total | 30 |