Pagini recente » Borderou de evaluare (job #1603980) | Borderou de evaluare (job #2100725) | Borderou de evaluare (job #826959) | Borderou de evaluare (job #331399) | Borderou de evaluare (job #701766)
Borderou de evaluare (job #701766)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:14:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d %d",&d[i],&c[i]);
^
user.cpp:14:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&p,&k);
^
user.cpp:14:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&d[i],&c[i]);
^
user.cpp:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&p1,&p2);
^
user.cpp: In function ‘int main()’:
user.cpp:70:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in","r",stdin);
^
user.cpp:71:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w",stdout);
^
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:53:11: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
viz[j]=1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 252kb | OK | 10 |
3 | 8ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 8ms | 288kb | Incorect | 0 |
6 | 0ms | 268kb | Incorect | 0 |
7 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 264kb | OK | 10 |
9 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 12ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |