Pagini recente » Borderou de evaluare (job #1577003) | Borderou de evaluare (job #2966468) | Borderou de evaluare (job #1429467) | Borderou de evaluare (job #619276) | Borderou de evaluare (job #2134643)
Borderou de evaluare (job #2134643)
Raport evaluator
Compilare:
user.cpp: In function ‘int BellmanFord(int)’:
user.cpp:32:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[dad.node].size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:77:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &f[i]);
^
user.cpp:70:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in", "r", stdin);
^
user.cpp:71:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out", "w", stdout);
^
user.cpp:74:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
^
user.cpp:77:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &f[i]);
^
user.cpp:79:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
user.cpp:83:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &a, &b, &T, &W);
^
user.cpp: In function ‘int binarySearch(int, int)’:
user.cpp:66:10: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1764kb | OK | 10 |
2 | 16ms | 1868kb | OK | 10 |
3 | 0ms | 1736kb | OK | 10 |
4 | 44ms | 1780kb | OK | 10 |
5 | 52ms | 1824kb | OK | 10 |
6 | 68ms | 1856kb | OK | 10 |
7 | 64ms | 1788kb | OK | 10 |
8 | 0ms | 1740kb | OK | 10 |
9 | 0ms | 1712kb | OK | 10 |
10 | 8ms | 1732kb | OK | 10 |
Punctaj total | 100 |