Pagini recente » Borderou de evaluare (job #2603647) | Borderou de evaluare (job #2960064) | Borderou de evaluare (job #2625474) | Borderou de evaluare (job #748469) | Borderou de evaluare (job #1846412)
Borderou de evaluare (job #1846412)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (cnt+1<=BFS.size())
^
user.cpp:54:13: warning: unused variable ‘x’ [-Wunused-variable]
int x=pass[BFS[cnt].nod];
^
user.cpp:21:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in","r",stdin);
^
user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out","w",stdout);
^
user.cpp:24:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&n,&m,&S);
^
user.cpp:27:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc11kCMJ.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1836kb | OK | 10 |
2 | 0ms | 1840kb | OK | 10 |
3 | 0ms | 1840kb | OK | 10 |
4 | 4ms | 2004kb | OK | 10 |
5 | 8ms | 2108kb | OK | 10 |
6 | 48ms | 2952kb | OK | 10 |
7 | 148ms | 4308kb | OK | 10 |
8 | 128ms | 3736kb | OK | 10 |
9 | 556ms | 12872kb | OK | 10 |
10 | 552ms | 12852kb | OK | 10 |
Punctaj total | 100 |