Pagini recente » Borderou de evaluare (job #816362) | Borderou de evaluare (job #2544905) | Borderou de evaluare (job #258202) | Borderou de evaluare (job #1005889) | Borderou de evaluare (job #2298168)
Borderou de evaluare (job #2298168)
Raport evaluator
Compilare:
main.cpp:3:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(disable: 4996)
main.cpp: In function 'int main()':
main.cpp:15:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
fscanf(f, "%d", &n);
^
main.cpp:16:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
fscanf(f, "%d", &v[1]);
^
main.cpp:19:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
fscanf(f, "%d", &v[i]);
^
main.cpp:37:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'll {aka long long int}' [-Wformat=]
fprintf(g, "%d\n", smax);
^
main.cpp:15:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
main.cpp:16:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &v[1]);
^
main.cpp:19:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 3ms | 131kb | Incorect | 0 |
8 | 4ms | 131kb | Incorect | 0 |
9 | 4ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 80 |