Pagini recente » Borderou de evaluare (job #1293036) | Borderou de evaluare (job #2968547) | Borderou de evaluare (job #2276242) | Borderou de evaluare (job #194833) | Borderou de evaluare (job #1478824)
Borderou de evaluare (job #1478824)
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:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p2<points.size()-1 && 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()-1)
^
user.cpp:92:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p1<points.size() && p2<points.size()-1)
^
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 | 228ms | 3816kb | Incorect | 0 | 0 |
2 | 324ms | 6004kb | OK | 33 |
3 | Depăşit | 12016kb | Time limit exceeded. | 0 |
Punctaj total | 0 |