Pagini recente » Borderou de evaluare (job #1865079) | Borderou de evaluare (job #1222248) | Borderou de evaluare (job #589975) | Borderou de evaluare (job #1809945) | Borderou de evaluare (job #1635325)
Borderou de evaluare (job #1635325)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f1,"%d%ld%ld",&c,&n,&k);
^
user.cpp:23:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:23:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:25:34: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(f2,"%ld",pow(k-1));
^
user.cpp:23:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d%ld%ld",&c,&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Corect! | 2 |
2 | 0ms | 260kb | Corect! | 2 |
3 | 0ms | 260kb | Corect! | 2 |
4 | 0ms | 260kb | Corect! | 2 |
5 | 0ms | 260kb | Corect! | 2 |
6 | 0ms | 256kb | Corect! | 2 |
7 | 0ms | 260kb | Corect! | 2 |
8 | 0ms | 264kb | Corect! | 2 |
9 | 0ms | 260kb | Corect! | 2 |
10 | 0ms | 252kb | Raspuns gresit! | 0 |
11 | 0ms | 248kb | Raspuns gresit! | 0 |
12 | 0ms | 248kb | Raspuns gresit! | 0 |
13 | 0ms | 248kb | Raspuns gresit! | 0 |
14 | 0ms | 248kb | Raspuns gresit! | 0 |
15 | 0ms | 252kb | Raspuns gresit! | 0 |
16 | 0ms | 244kb | Raspuns gresit! | 0 |
17 | 0ms | 252kb | Raspuns gresit! | 0 |
18 | 0ms | 248kb | Raspuns gresit! | 0 |
19 | 0ms | 248kb | Raspuns gresit! | 0 |
20 | 0ms | 260kb | Corect! | 2 |
Punctaj total | 20 |