Pagini recente » Borderou de evaluare (job #2619138) | Borderou de evaluare (job #484647) | Borderou de evaluare (job #1086407) | Borderou de evaluare (job #2980122) | Borderou de evaluare (job #1055530)
Borderou de evaluare (job #1055530)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:8:5: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=]
fscanf(f,"%u",&t);
^
user.c:9:5: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=]
fscanf(f,"%u",&n);
^
user.c:10:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%u %u",t,n);
^
user.c:10:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
user.c:12:19: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[10]’ [-Wformat=]
fscanf(f,"%s",&line);
^
user.c:22:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
fprintf(f,"%u %u %u",ct,cs,sr);
^
user.c:22:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
user.c:22:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
user.c:5:27: warning: unused variable ‘i’ [-Wunused-variable]
unsigned long int t,n,i,s,sr=0,ct=0,cs=0,r;
^
user.c:16:19: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
switch(r){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 236kb | Incorect | 0 |
Punctaj total | 0 |