Pagini recente » Borderou de evaluare (job #2873378) | Borderou de evaluare (job #34513) | Borderou de evaluare (job #2341048) | Borderou de evaluare (job #2700667) | Borderou de evaluare (job #2615234)
Borderou de evaluare (job #2615234)
Raport evaluator
Compilare:
main.cpp: In function 'int toposort(std::vector<int>*, int, int*)':
main.cpp:19:12: warning: unused variable 'j' [-Wunused-variable]
int i, j, depth = 0, l = 0, length = 1, new_length = 0;
^
main.cpp:63:16: warning: unused variable 'pp' [-Wunused-variable]
struct per pp;
^~
main.cpp:78:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:81:9: warning: unused variable 'i' [-Wunused-variable]
int i, j, n, m, x, y;
^
main.cpp:81:12: warning: unused variable 'j' [-Wunused-variable]
int i, j, n, m, x, y;
^
main.cpp:95:10: warning: unused variable 'ans' [-Wunused-variable]
int *ans = (int*)malloc(100 * sizeof(int));
^~~
main.cpp:85:39: 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);
^
main.cpp:86:41: 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);
^
main.cpp:88:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
main.cpp:90:31: 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 | 5ms | 1572kb | Raspuns gresit | 0 |
2 | 5ms | 1572kb | Raspuns gresit | 0 |
3 | 6ms | 1572kb | Raspuns gresit | 0 |
4 | 7ms | 1572kb | Raspuns gresit | 0 |
5 | 10ms | 1572kb | Raspuns gresit | 0 |
6 | 16ms | 1703kb | Raspuns gresit | 0 |
7 | 29ms | 1966kb | Raspuns gresit | 0 |
8 | 42ms | 2228kb | Raspuns gresit | 0 |
9 | 88ms | 2883kb | Raspuns gresit | 0 |
10 | 221ms | 3932kb | Raspuns gresit | 0 |
Punctaj total | 0 |