Pagini recente » Borderou de evaluare (job #1730769) | Borderou de evaluare (job #1616540) | Borderou de evaluare (job #2109345) | Borderou de evaluare (job #605013) | Borderou de evaluare (job #2562517)
Borderou de evaluare (job #2562517)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int, int)':
main.cpp:60:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d ", lant1.size() + lant2.size());
^
main.cpp:62:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < lant2.size() ; ++i) printf("%d ", lant2[i]);
~~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:79:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nolife.in", "r", stdin);
^
main.cpp:80:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nolife.out", "w", stdout);
^
main.cpp:82:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:85:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &c);
^
main.cpp:91:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:93:24: 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 | 10003ms | 4816kb | Time limit exceeded | 0 |
2 | 10001ms | 5894kb | Time limit exceeded | 0 |
3 | 10000ms | 7340kb | Time limit exceeded | 0 |
4 | 10000ms | 11804kb | Time limit exceeded | 0 |
5 | 10001ms | 13099kb | Time limit exceeded | 0 |
6 | 10002ms | 15716kb | Time limit exceeded | 0 |
7 | 10000ms | 11939kb | Time limit exceeded | 0 |
8 | 10002ms | 15585kb | Time limit exceeded | 0 |
9 | 10001ms | 15482kb | Time limit exceeded | 0 |
10 | 10003ms | 16130kb | Time limit exceeded | 0 |
Punctaj total | 0 |