Pagini recente » Borderou de evaluare (job #2726862) | Borderou de evaluare (job #3033498) | Borderou de evaluare (job #2377097) | Borderou de evaluare (job #3033339) | Borderou de evaluare (job #2108539)
Borderou de evaluare (job #2108539)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d%d", &n, &k);
^
user.cpp:16:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:25:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d\n", d[n][k]);
^
user.cpp:14:26: warning: unused variable ‘maxx’ [-Wunused-variable]
long long n,k, i, j, maxx;
^
user.cpp:16:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | Ok! | 10 |
2 | 0ms | 352kb | Raspuns gresit | 0 |
3 | 0ms | 552kb | Raspuns gresit | 0 |
4 | 0ms | 732kb | Raspuns gresit | 0 |
5 | 0ms | 1048kb | Raspuns gresit | 0 |
6 | 0ms | 260kb | Ok! | 10 |
7 | 0ms | 520kb | Ok! | 10 |
8 | 0ms | 1004kb | Raspuns gresit | 0 |
9 | 0ms | 580kb | Raspuns gresit | 0 |
10 | 0ms | 952kb | Raspuns gresit | 0 |
Punctaj total | 30 |