Pagini recente » Borderou de evaluare (job #2843265) | Borderou de evaluare (job #778636) | Borderou de evaluare (job #217430) | Borderou de evaluare (job #1345829) | Borderou de evaluare (job #1921557)
Borderou de evaluare (job #1921557)
Raport evaluator
Compilare:
user.cpp: In constructor ‘Drum::Drum(int, long long int, int)’:
user.cpp:12:15: warning: ‘Drum::cost’ will be initialized after [-Wreorder]
long long cost;
^
user.cpp:11:14: warning: ‘int Drum::fort’ [-Wreorder]
int nod, fort;
^
user.cpp:15:5: warning: when initialized here [-Wreorder]
Drum(int n, long long c, int f) :
^
user.cpp: In function ‘void dijkstra()’:
user.cpp:50:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[d.nod].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:70:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d", &n, &m, &nrf);
^
user.cpp:70:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:70:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:68:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.in", "r", stdin);
^
user.cpp:69:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.out", "w", stdout);
^
user.cpp:70:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &nrf);
^
user.cpp:73:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &fort[i]);
^
user.cpp:77:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1008kb | OK | 10 |
2 | 4ms | 1172kb | Incorect | 0 |
3 | 12ms | 1584kb | OK | 10 |
4 | 0ms | 992kb | OK | 10 |
5 | 32ms | 2112kb | Incorect | 0 |
6 | 60ms | 3156kb | Incorect | 0 |
7 | 4ms | 1120kb | OK | 10 |
8 | 12ms | 1456kb | OK | 10 |
9 | 44ms | 2364kb | Incorect | 0 |
10 | 112ms | 4240kb | Incorect | 0 |
Punctaj total | 50 |