Pagini recente » Borderou de evaluare (job #2204088) | Borderou de evaluare (job #2784880) | Borderou de evaluare (job #1574230) | Borderou de evaluare (job #1131912) | Borderou de evaluare (job #1480059)
Borderou de evaluare (job #1480059)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f1,"%ld%ld%ld",&n,&m,&s);
^
user.cpp:14:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:14:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=]
user.cpp:17:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f1,"%ld%ld",&x,&y);
^
user.cpp:17:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:24:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<graf[i].size();j++)
^
user.cpp:25:37: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ [-Wformat=]
printf("%ld ",graf[i][j]);
^
user.cpp:42:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(f2,"%ld ",dist[i]-1);
^
user.cpp:14:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%ld%ld%ld",&n,&m,&s);
^
user.cpp:17:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%ld%ld",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1444kb | OK | 10 |
| 2 | 0ms | 1448kb | OK | 10 |
| 3 | 0ms | 1448kb | OK | 10 |
| 4 | 8ms | 1516kb | OK | 10 |
| 5 | 16ms | 1584kb | OK | 10 |
| 6 | 76ms | 2176kb | OK | 10 |
| 7 | 212ms | 3308kb | OK | 10 |
| 8 | 192ms | 3260kb | OK | 10 |
| 9 | Depăşit | 9096kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 8940kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |