Pagini recente » Borderou de evaluare (job #827854) | Borderou de evaluare (job #1306823) | Borderou de evaluare (job #2133836) | Atasamentele paginii simulare_emag | Borderou de evaluare (job #1432923)
Borderou de evaluare (job #1432923)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(graph*&, int, std::stack<int>&)’:
user.cpp:54:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graf->lists[source].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:98:12: warning: unused variable ‘S’ [-Wunused-variable]
int N, M, S, i, u, v;
^
user.cpp:96:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gcycle.in", "r", stdin);
^
user.cpp:97:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gcycle.out", "w", stdout);
^
user.cpp:99:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:102:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &u, &v);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 448kb | Incorect! | 0 |
| 2 | 4ms | 568kb | Incorect! | 0 |
| 3 | 0ms | 460kb | Incorect! | 0 |
| 4 | 0ms | 500kb | OK! | 10 |
| 5 | 8ms | 752kb | Incorect! | 0 |
| 6 | 40ms | 2044kb | OK! | 10 |
| 7 | 0ms | 568kb | OK! | 10 |
| 8 | 52ms | 2284kb | Incorect! | 0 |
| 9 | 20ms | 1252kb | OK! | 10 |
| 10 | 124ms | 4400kb | Incorect! | 0 |
| Punctaj total | 40 |