Pagini recente » Borderou de evaluare (job #640050) | Borderou de evaluare (job #511772) | Borderou de evaluare (job #3233300) | Borderou de evaluare (job #1386297) | Borderou de evaluare (job #1552415)
Borderou de evaluare (job #1552415)
Raport evaluator
Compilare:
user.cpp: In function ‘void df(long long int*, int)’:
user.cpp:36:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[x].size(); i++) {
^
user.cpp: In function ‘void dfsol(int)’:
user.cpp:63:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < GM[x].size(); i++) {
^
user.cpp: In function ‘bool drum()’:
user.cpp:87:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < GM[x].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:142:45: warning: overflow in implicit constant conversion [-Woverflow]
memset(DS, 0x3f3f3f3f3f3f3f3f, sizeof DS);
^
user.cpp:143:45: warning: overflow in implicit constant conversion [-Woverflow]
memset(DD, 0x3f3f3f3f3f3f3f3f, sizeof DD);
^
user.cpp:154:13: warning: unused variable ‘c’ [-Wunused-variable]
c = E[i].second;
^
user.cpp:184:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ans.size(); i++) {
^
user.cpp:130:37: 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:131:39: 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:133:41: 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:135:38: 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 | 344kb | Corect! | 10 |
2 | 8ms | 2508kb | Corect! | 10 |
3 | 4ms | 1100kb | Numar de muchii gresit! | 0 |
4 | 4ms | 2264kb | Numar de muchii gresit! | 0 |
5 | 4ms | 1748kb | Corect! | 10 |
6 | 4ms | 1624kb | Numar de muchii gresit! | 0 |
7 | 8ms | 2380kb | Numar de muchii gresit! | 0 |
8 | 8ms | 2008kb | Numar de muchii gresit! | 0 |
9 | 8ms | 2228kb | Corect! | 10 |
10 | 0ms | 344kb | Corect! | 10 |
Punctaj total | 50 |