Pagini recente » Borderou de evaluare (job #2775265) | Borderou de evaluare (job #35075) | Borderou de evaluare (job #271976) | Borderou de evaluare (job #2348864) | Borderou de evaluare (job #1941953)
Borderou de evaluare (job #1941953)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:27:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(in, "%d", &n);
^
user.cpp:29:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(in, "%d", &arr[i]);
^
user.cpp: In function ‘void print()’:
user.cpp:60:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(out, "%d", mat[1][n]);
^
user.cpp: In function ‘void read()’:
user.cpp:27:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.cpp:29:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &arr[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | OK | 10 |
2 | 0ms | 476kb | OK | 10 |
3 | 0ms | 532kb | OK | 10 |
4 | 0ms | 612kb | OK | 10 |
5 | 0ms | 644kb | OK | 10 |
6 | 0ms | 852kb | OK | 10 |
7 | 20ms | 1248kb | OK | 10 |
8 | 76ms | 1648kb | OK | 10 |
9 | 184ms | 2052kb | Incorect | 0 |
10 | 368ms | 2448kb | Incorect | 0 |
Punctaj total | 80 |