Pagini recente » Borderou de evaluare (job #10666) | Borderou de evaluare (job #2563641) | Borderou de evaluare (job #1296537) | Borderou de evaluare (job #1002863) | Borderou de evaluare (job #2108541)
Borderou de evaluare (job #2108541)
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 | 356kb | Raspuns gresit | 0 |
| 3 | 0ms | 556kb | Raspuns gresit | 0 |
| 4 | 0ms | 728kb | Raspuns gresit | 0 |
| 5 | 0ms | 1048kb | Raspuns gresit | 0 |
| 6 | 0ms | 264kb | Ok! | 10 |
| 7 | 0ms | 520kb | Ok! | 10 |
| 8 | 0ms | 1000kb | Raspuns gresit | 0 |
| 9 | 0ms | 580kb | Raspuns gresit | 0 |
| 10 | 0ms | 960kb | Raspuns gresit | 0 |
| Punctaj total | 30 |