Pagini recente » Borderou de evaluare (job #2909103) | Borderou de evaluare (job #2880869) | Borderou de evaluare (job #845159) | Borderou de evaluare (job #2642822) | Borderou de evaluare (job #1965623)
Borderou de evaluare (job #1965623)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int, int*)’:
user.cpp:35:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int bfs(int, int)’:
user.cpp:56:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v1[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:83:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[i].size();j++)
^
user.cpp:95:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v1[D].size();i++)
^
user.cpp:113:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v1[i].size();j++)
^
user.cpp:70:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asfalt.in","r",stdin);
^
user.cpp:71:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asfalt.out","w",stdout);
^
user.cpp:73:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&m,&S,&D);
^
user.cpp:76:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 312kb | Corect! | 10 |
| 2 | 4ms | 1568kb | Corect! | 10 |
| 3 | 4ms | 640kb | Corect! | 10 |
| 4 | 0ms | 1252kb | Corect! | 10 |
| 5 | 4ms | 1160kb | Corect! | 10 |
| 6 | 4ms | 1012kb | Corect! | 10 |
| 7 | 4ms | 1344kb | Corect! | 10 |
| 8 | 4ms | 980kb | Corect! | 10 |
| 9 | 4ms | 1156kb | Corect! | 10 |
| 10 | 0ms | 324kb | Corect! | 10 |
| Punctaj total | 100 |