Pagini recente » Borderou de evaluare (job #3167825) | Borderou de evaluare (job #1545146) | Borderou de evaluare (job #3153443) | Borderou de evaluare (job #943322) | Borderou de evaluare (job #1160340)
Borderou de evaluare (job #1160340)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin,"%d%d%d",&a,&b,&c);
^
user.cpp:10:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:10:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:11:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d",pow(a,b,c));
^
user.cpp: In function ‘long long int pow(long int, long int, long int)’:
user.cpp:21:10: warning: unused variable ‘i’ [-Wunused-variable]
long i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | OK | 10 |
2 | 0ms | 232kb | OK | 10 |
3 | 0ms | 232kb | OK | 10 |
4 | 0ms | 232kb | OK | 10 |
5 | 0ms | 232kb | OK | 10 |
6 | 0ms | 232kb | OK | 10 |
7 | 0ms | 232kb | Incorect | 0 |
8 | 0ms | 232kb | Incorect | 0 |
9 | 0ms | 232kb | Incorect | 0 |
10 | 0ms | 232kb | Incorect | 0 |
Punctaj total | 60 |