Pagini recente » Borderou de evaluare (job #1893475) | Borderou de evaluare (job #195908) | Borderou de evaluare (job #1031473) | Borderou de evaluare (job #2793849) | Borderou de evaluare (job #2136476)
Borderou de evaluare (job #2136476)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:27:38: warning: narrowing conversion of ‘i’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
a[g[i][j]].push_back({i,j});
^
user.cpp:27:38: warning: narrowing conversion of ‘j’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:33:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<a[v[i]].size();j++)
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sarpe2.in","r",stdin);
^
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sarpe2.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:26:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&g[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 5876kb | OK | 5 | 10 |
2 | 4ms | 5876kb | OK | 5 |
3 | 8ms | 6244kb | OK | 5 | 10 |
4 | 8ms | 6280kb | OK | 5 |
5 | 20ms | 6852kb | OK | 5 | 10 |
6 | 20ms | 6856kb | OK | 5 |
7 | 348ms | 16924kb | Incorect | 0 | 0 |
8 | 588ms | Depăşit | Memory limit exceeded. | 0 |
9 | 356ms | 16984kb | Incorect | 0 | 0 |
10 | 592ms | Depăşit | Memory limit exceeded. | 0 |
11 | 348ms | 16444kb | Incorect | 0 | 0 |
12 | 608ms | Depăşit | Memory limit exceeded. | 0 |
13 | 376ms | 17408kb | Incorect | 0 | 0 |
14 | 608ms | Depăşit | Memory limit exceeded. | 0 |
15 | 344ms | 16836kb | Incorect | 0 | 0 |
16 | 608ms | Depăşit | Memory limit exceeded. | 0 |
17 | 352ms | 16688kb | Incorect | 0 | 0 |
18 | 608ms | Depăşit | Memory limit exceeded. | 0 |
19 | 348ms | 16876kb | Incorect | 0 | 0 |
20 | 624ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |