Pagini recente » Borderou de evaluare (job #1586698) | Borderou de evaluare (job #627609) | Borderou de evaluare (job #41635) | Borderou de evaluare (job #2735226) | Borderou de evaluare (job #1407683)
Borderou de evaluare (job #1407683)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int, int)’:
user.cpp:64:12: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
int x, a;
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:88:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
int a, b, p, i;
^
user.cpp: In function ‘int main()’:
user.cpp:119:36: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
int n, m, i, S, flow, minflow, a;
^
user.cpp:124:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("teroristi.in", "r", stdin);
^
user.cpp:125:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("teroristi.out", "w", stdout);
^
user.cpp:127:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d\n", &n, &m);
^
user.cpp:128:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (s);
^
user.cpp:134:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (s);
^
/tmp/ccfxcimH.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4288kb | Ok! | 10 |
2 | 8ms | 4408kb | Ok! | 10 |
3 | 16ms | 5064kb | Ok! | 10 |
4 | 48ms | 5416kb | Ok! | 10 |
5 | 56ms | 5436kb | Ok! | 10 |
6 | 92ms | 6012kb | Ok! | 10 |
7 | 212ms | 9712kb | Ok! | 10 |
8 | 340ms | 14472kb | Ok! | 10 |
9 | 432ms | 16760kb | Ok! | 10 |
10 | 552ms | 19760kb | Ok! | 10 |
Punctaj total | 100 |