Pagini recente » Borderou de evaluare (job #562951) | Borderou de evaluare (job #2734241) | metro | Borderou de evaluare (job #1754353) | Borderou de evaluare (job #1651733)
Borderou de evaluare (job #1651733)
Raport evaluator
Compilare:
user.cpp: In function ‘void buildChain(int)’:
user.cpp:39:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[node].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:86:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < g[cross[i]].size(); j++)
^
user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("metrou2.in", "r", stdin);
^
user.cpp:55:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("metrou2.out", "w", stdout);
^
user.cpp:58:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:61:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p[i]);
^
user.cpp:65:30: 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 | 1616kb | OK | 10 |
| 2 | 0ms | 1620kb | OK | 10 |
| 3 | 0ms | 1640kb | OK | 10 |
| 4 | 0ms | 1636kb | OK | 10 |
| 5 | 12ms | 1836kb | OK | 10 |
| 6 | 12ms | 1832kb | OK | 10 |
| 7 | 56ms | 2700kb | OK | 10 |
| 8 | 92ms | 2700kb | OK | 10 |
| 9 | 152ms | 3760kb | OK | 10 |
| 10 | 156ms | 3756kb | OK | 10 |
| Punctaj total | 100 |