Pagini recente » Borderou de evaluare (job #913756) | Borderou de evaluare (job #527027) | Borderou de evaluare (job #1890397) | Borderou de evaluare (job #2125561) | Borderou de evaluare (job #1495083)
Borderou de evaluare (job #1495083)
Raport evaluator
Compilare:
user.cpp: In function ‘void write()’:
user.cpp:72:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",sol[i]);
^
user.cpp:75:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (sol[i] < 10) printf("000%d",sol[i]);
^
user.cpp:76:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else if (sol[i] < 100) printf("00%d",sol[i]);
^
user.cpp:77:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else if (sol[i] < 1000) printf("0%d",sol[i]);
^
user.cpp:78:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf("%d",sol[i]);
^
user.cpp: In function ‘void read()’:
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard2.in","r", stdin);
^
user.cpp:36:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp: In function ‘void write()’:
user.cpp:67:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard2.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 5 |
2 | 0ms | 456kb | OK | 5 |
3 | 0ms | 496kb | OK | 5 |
4 | 0ms | 544kb | OK | 5 |
5 | 0ms | 588kb | OK | 5 |
6 | 0ms | 956kb | OK | 5 |
7 | 0ms | 1120kb | OK | 5 |
8 | 4ms | 1376kb | OK | 5 |
9 | 4ms | 1792kb | OK | 5 |
10 | 8ms | 2140kb | OK | 5 |
11 | 4ms | 2808kb | OK | 5 |
12 | 12ms | 3560kb | OK | 5 |
13 | 16ms | 4068kb | OK | 5 |
14 | 16ms | 4612kb | OK | 5 |
15 | 20ms | 5184kb | OK | 5 |
16 | 12ms | 5600kb | OK | 5 |
17 | 12ms | 5808kb | OK | 5 |
18 | 24ms | 5800kb | OK | 5 |
19 | 20ms | 5804kb | OK | 5 |
20 | 24ms | 5800kb | OK | 5 |
Punctaj total | 100 |