Pagini recente » Borderou de evaluare (job #1114419) | Borderou de evaluare (job #2032635) | Borderou de evaluare (job #1918724) | Borderou de evaluare (job #1288538) | Borderou de evaluare (job #1290651)
Borderou de evaluare (job #1290651)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfsReconf(long int)’:
user.cpp:23:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<list[nod].size();i++){
^
user.cpp: In function ‘void removeEdge(long int, long int)’:
user.cpp:33:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[a].size();i++){
^
user.cpp: In function ‘void dfs(long int)’:
user.cpp:57:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<list[nod].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:88:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
int type, x, y; scanf("%ld %ld %ld",&type,&x,&y);
^
user.cpp:88:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:88:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:71:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disconnect.in","r",stdin);
^
user.cpp:72:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disconnect.out","w",stdout);
^
user.cpp:74:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&N,&M);
^
user.cpp:76:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&x,&y);
^
user.cpp:88:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int type, x, y; scanf("%ld %ld %ld",&type,&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1616kb | OK | 10 |
| 2 | 4ms | 1648kb | OK | 10 |
| 3 | 348ms | 1752kb | OK | 10 |
| 4 | 352ms | 1892kb | OK | 10 |
| 5 | 500ms | 3676kb | OK | 10 |
| 6 | 372ms | 3952kb | OK | 10 |
| 7 | Depăşit | 4144kb | Time limit exceeded. | 0 |
| 8 | 740ms | 4256kb | OK | 10 |
| 9 | 616ms | 4292kb | OK | 10 |
| 10 | 504ms | 4348kb | OK | 10 |
| Punctaj total | 90 |