Pagini recente » Borderou de evaluare (job #1149857) | Borderou de evaluare (job #1683443) | Borderou de evaluare (job #307473) | Borderou de evaluare (job #1612866) | Borderou de evaluare (job #2408752)
Borderou de evaluare (job #2408752)
Raport evaluator
Compilare:
main.cpp: In function 'void afisare(numere)':
main.cpp:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<k.rasp.size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void bfs(int, int)':
main.cpp:48:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[start_node].size(); i++)
~^~~~~~~~~~~~~~~~~~~~~
main.cpp:62:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[k.rasp.back()].size(); i++)
~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:79:80: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(g[k.rasp.back()][i].first==start_node&&k.rasp.size()==2*n)
~~~~~~~~~~~~~^~~~~
main.cpp:94:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(g[k.rasp.back()][i].first==start_node&&k.rasp.size()==2*n)
~~~~~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:117:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dungeon.in", "r", stdin);
^
main.cpp:118:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dungeon.out", "w", stdout);
^
main.cpp:121:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:124:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:128:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp:135:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp:142:34: 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 | 7ms | 2621kb | Wrong answer | 0 |
2 | 9ms | 2621kb | Wrong answer | 0 |
3 | 24ms | 3014kb | Wrong answer | 0 |
4 | 20ms | 2752kb | Wrong answer | 0 |
5 | 66ms | 3407kb | Wrong answer | 0 |
6 | 771ms | 128016kb | Memory limit exceeded | 0 |
7 | 495ms | 11431kb | Wrong answer | 0 |
8 | 731ms | 10870kb | Wrong answer | 0 |
9 | 703ms | 10412kb | Wrong answer | 0 |
10 | 671ms | 9830kb | Wrong answer | 0 |
11 | 998ms | 128016kb | Memory limit exceeded | 0 |
12 | 971ms | 128016kb | Memory limit exceeded | 0 |
13 | 1080ms | 128016kb | Memory limit exceeded | 0 |
Punctaj total | 0 |