Pagini recente » Borderou de evaluare (job #2749962) | Borderou de evaluare (job #141179) | Borderou de evaluare (job #2497811) | Borderou de evaluare (job #1821902) | Borderou de evaluare (job #1478799)
Borderou de evaluare (job #1478799)
Raport evaluator
Compilare:
user.cpp: In function ‘void advance_pointer(int&, int&)’:
user.cpp:29:25: 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:42: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:86:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p2<points.size() && points[p2].x==points[p2-1].x)
^
user.cpp:91:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p1!=points.size() && p2!=points.size())
^
user.cpp:91:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p1!=points.size() && p2!=points.size())
^
user.cpp:57: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:58: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:60:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:64: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:68: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 | 4ms | 2628kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 320ms | 4840kb | Incorect | 0 |
3 | Depăşit | 10840kb | Time limit exceeded. | 0 |
Punctaj total | 0 |