Pagini recente » Borderou de evaluare (job #3137661) | Borderou de evaluare (job #2140227) | Borderou de evaluare (job #266298) | Borderou de evaluare (job #1775665) | Borderou de evaluare (job #1431149)
Borderou de evaluare (job #1431149)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(graph*&, int, std::stack<int>&)’:
user.cpp:47: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:74:12: warning: unused variable ‘S’ [-Wunused-variable]
int N, M, S, i, u, v;
^
user.cpp:72:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.in", "r", stdin);
^
user.cpp:73:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.out", "w", stdout);
^
user.cpp:75: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:78: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 | 432kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 460kb | OK | 10 |
4 | 0ms | 496kb | OK | 10 |
5 | 4ms | 568kb | OK | 10 |
6 | 8ms | 676kb | OK | 10 |
7 | 16ms | 1004kb | OK | 10 |
8 | 24ms | 1244kb | OK | 10 |
9 | 52ms | 2044kb | OK | 10 |
10 | 84ms | 2752kb | OK | 10 |
Punctaj total | 100 |