Pagini recente » Borderou de evaluare (job #1585059) | Borderou de evaluare (job #2730112) | Borderou de evaluare (job #438177) | Borderou de evaluare (job #413936) | Borderou de evaluare (job #1497520)
Borderou de evaluare (job #1497520)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:60:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d%d",&n,&m1,&st,&fin);
^
user.cpp:60:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:60:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:60:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp: In function ‘void scriere()’:
user.cpp:72:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j;
^
user.cpp:72:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘void citire()’:
user.cpp:57:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in","r",stdin);
^
user.cpp:58:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out","w",stdout);
^
user.cpp:60:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&m1,&st,&fin);
^
user.cpp:63:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n1,&n2);
^
user.cpp: In function ‘void parcurgere()’:
user.cpp:21:13: warning: ‘nr’ is used uninitialized in this function [-Wuninitialized]
d1[nr]=0; c.push(st);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 376kb | Incorect | 0 |
2 | 0ms | 372kb | Incorect | 0 |
3 | 0ms | 376kb | Incorect | 0 |
4 | 0ms | 380kb | Incorect | 0 |
5 | 0ms | 376kb | Incorect | 0 |
6 | 0ms | 372kb | Incorect | 0 |
7 | 0ms | 376kb | Incorect | 0 |
8 | 0ms | 376kb | Incorect | 0 |
9 | 0ms | 376kb | Incorect | 0 |
10 | 0ms | 376kb | Incorect | 0 |
Punctaj total | 0 |