Pagini recente » Borderou de evaluare (job #630423) | Borderou de evaluare (job #478897) | Borderou de evaluare (job #2470573) | Borderou de evaluare (job #2125085) | Borderou de evaluare (job #1262702)
Borderou de evaluare (job #1262702)
Raport evaluator
Compilare:
user.cpp: In function ‘void dung_canh()’:
user.cpp:30:19: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
if(x>n||y>n||x<1|y<1) continue;
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:57:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<adj[u].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:115:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice2.in","r",stdin);
^
user.cpp:116:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice2.out","w",stdout);
^
user.cpp:118:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
user.cpp:123:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[(i-1)*n+j]);
^
user.cpp:133:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x,&y,&u,&v);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 8552kb | OK | 5 |
| 2 | 8ms | 8668kb | OK | 5 |
| 3 | 16ms | 8980kb | OK | 5 |
| 4 | 40ms | 10084kb | OK | 5 |
| 5 | 28ms | 9352kb | OK | 5 |
| 6 | 32ms | 9616kb | OK | 5 |
| 7 | 44ms | 10088kb | OK | 5 |
| 8 | 52ms | 10088kb | OK | 5 |
| 9 | 52ms | 10084kb | OK | 5 |
| 10 | 208ms | 15044kb | OK | 5 |
| 11 | 204ms | 14784kb | OK | 5 |
| 12 | 340ms | Depăşit | Memory limit exceeded. | 0 |
| 13 | 340ms | Depăşit | Memory limit exceeded. | 0 |
| 14 | 340ms | Depăşit | Memory limit exceeded. | 0 |
| 15 | 340ms | Depăşit | Memory limit exceeded. | 0 |
| 16 | 340ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 340ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 340ms | Depăşit | Memory limit exceeded. | 0 |
| 19 | 340ms | Depăşit | Memory limit exceeded. | 0 |
| 20 | 340ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 55 |