Pagini recente » Borderou de evaluare (job #1677304) | Borderou de evaluare (job #627427) | Borderou de evaluare (job #1323060) | Borderou de evaluare (job #2280627) | Borderou de evaluare (job #1478816)
Borderou de evaluare (job #1478816)
Raport evaluator
Compilare:
user.cpp: In function ‘void advance_pointer(int&)’:
user.cpp:29:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p<points.size()-1 && points[p].x == points[p+1].x && points[p+1].y-points[p].y<2);
^
user.cpp: In function ‘bool dfs(int)’:
user.cpp:41:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graph[temp].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:87:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p2<points.size() && points[p2].x==points[p2+1].x)
^
user.cpp:92:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p1<points.size() && p2<points.size())
^
user.cpp:92:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p1<points.size() && p2<points.size())
^
user.cpp:56:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tradare.in", "r", stdin);
^
user.cpp:57:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tradare.out", "w", stdout);
^
user.cpp:59:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:63:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &k);
^
user.cpp:67:25: 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 |
Punctaj/grupa |
1 | 224ms | 3812kb | Incorect | 0 | 0 |
2 | 324ms | 6000kb | OK | 33 |
3 | Depăşit | 12020kb | Time limit exceeded. | 0 |
Punctaj total | 0 |