Pagini recente » Borderou de evaluare (job #536453) | Borderou de evaluare (job #963031) | Borderou de evaluare (job #279158) | Borderou de evaluare (job #960235) | Borderou de evaluare (job #1605127)
Borderou de evaluare (job #1605127)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d", &N, &P);
^
user.cpp:25:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:27:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d", putere(N,P));
^
user.cpp:22:35: 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:23:37: 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:25:27: 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 | 424kb | Incorect | 0 |
2 | 0ms | 432kb | Incorect | 0 |
3 | 0ms | 428kb | Incorect | 0 |
4 | 0ms | 424kb | Incorect | 0 |
5 | 0ms | 428kb | Incorect | 0 |
6 | 0ms | 428kb | Incorect | 0 |
7 | 0ms | 432kb | Incorect | 0 |
8 | 0ms | 424kb | OK | 10 |
9 | 0ms | 428kb | Incorect | 0 |
10 | 0ms | 428kb | Incorect | 0 |
Punctaj total | 10 |