Pagini recente » Borderou de evaluare (job #1916660) | Borderou de evaluare (job #864967) | Cod sursa (job #1213653) | Cod sursa (job #380653) | Borderou de evaluare (job #2134635)
Borderou de evaluare (job #2134635)
Raport evaluator
Compilare:
user.cpp: In function ‘int dijkstra(int)’:
user.cpp:31: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:76:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &f[i]);
^
user.cpp:69: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:70: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:73: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:76:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &f[i]);
^
user.cpp:78:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
user.cpp:82: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:65: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 | 28ms | 1956kb | OK | 10 |
| 3 | 0ms | 1736kb | OK | 10 |
| 4 | 96ms | 1860kb | OK | 10 |
| 5 | 80ms | 1964kb | OK | 10 |
| 6 | 84ms | 1952kb | OK | 10 |
| 7 | Depăşit | 1892kb | Time limit exceeded. | 0 |
| 8 | 0ms | 1736kb | OK | 10 |
| 9 | 0ms | 1708kb | OK | 10 |
| 10 | 8ms | 1740kb | OK | 10 |
| Punctaj total | 90 |