Pagini recente » Cod sursa (job #3195017) | Borderou de evaluare (job #1426887) | Borderou de evaluare (job #460712) | Cod sursa (job #2161905) | Borderou de evaluare (job #1415787)
Borderou de evaluare (job #1415787)
Raport evaluator
Compilare:
user.cpp: In function ‘void df1(int)’:
user.cpp:13:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<g[x].size();++i)
^
user.cpp: In function ‘void df2(int)’:
user.cpp:21:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<tr[x].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:29:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:29:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:31:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:31:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:52:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}’ [-Wformat=]
printf("%d ",el[i]);
^
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("drumuri5.in","r",stdin);
^
user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("drumuri5.out","w",stdout);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3784kb | OK | 5 |
2 | 4ms | 3792kb | OK | 5 |
3 | 4ms | 3792kb | OK | 5 |
4 | 4ms | 3792kb | OK | 5 |
5 | 4ms | 3804kb | OK | 5 |
6 | 4ms | 3804kb | OK | 5 |
7 | 24ms | 3836kb | OK | 5 |
8 | 12ms | 3816kb | OK | 5 |
9 | 16ms | 3832kb | OK | 5 |
10 | 64ms | 3872kb | OK | 5 |
11 | Depăşit | 4732kb | Time limit exceeded. | 0 |
12 | Depăşit | 4716kb | Time limit exceeded. | 0 |
13 | Depăşit | 6180kb | Time limit exceeded. | 0 |
14 | Depăşit | 6220kb | Time limit exceeded. | 0 |
15 | Depăşit | 6976kb | Time limit exceeded. | 0 |
16 | Depăşit | 7028kb | Time limit exceeded. | 0 |
17 | Depăşit | 10012kb | Time limit exceeded. | 0 |
18 | Depăşit | 9236kb | Time limit exceeded. | 0 |
19 | Depăşit | 10200kb | Time limit exceeded. | 0 |
20 | Depăşit | 11828kb | Time limit exceeded. | 0 |
Punctaj total | 50 |