Pagini recente » Borderou de evaluare (job #3206107) | Borderou de evaluare (job #2548233) | Borderou de evaluare (job #1746445) | Borderou de evaluare (job #2382218) | Borderou de evaluare (job #1519719)
Borderou de evaluare (job #1519719)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int)’:
user.cpp:17:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[nod].size(); i++) {
^
user.cpp:25:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<v[nod].size(); i++) {
^
user.cpp:37:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<p.size();i+=2)
^
user.cpp:41:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i+1<p.size();i+=2)
^
user.cpp:15:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,x,y;
^
user.cpp: In function ‘int main()’:
user.cpp:48:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drumuri.in","r",stdin);
^
user.cpp:49:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drumuri.out","w",stdout);
^
user.cpp:51:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:58:29: 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 | 0ms | 568kb | Ok, Solutie buna. | 10 |
2 | 4ms | 584kb | Ok, Solutie buna. | 10 |
3 | 4ms | 604kb | Ok, Solutie buna. | 10 |
4 | 4ms | 624kb | Ok, Solutie buna. | 10 |
5 | 4ms | 648kb | Ok, Solutie buna. | 10 |
6 | 4ms | 704kb | Ok, Solutie buna. | 10 |
7 | 8ms | 792kb | Ok, Solutie buna. | 10 |
8 | 12ms | 904kb | Ok, Solutie buna. | 10 |
9 | 20ms | 1160kb | Ok, Solutie buna. | 10 |
10 | 36ms | 1924kb | Ok, Solutie buna. | 10 |
Punctaj total | 100 |