Pagini recente » Borderou de evaluare (job #588514) | Borderou de evaluare (job #1934288) | Borderou de evaluare (job #1894381) | Borderou de evaluare (job #1257792) | Borderou de evaluare (job #1377061)
Borderou de evaluare (job #1377061)
Raport evaluator
Compilare:
user.cpp: In function ‘void add_s(char*)’:
user.cpp:35:5: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int main()’:
user.cpp:53:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux[i++]=c;
^
user.cpp:56:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux[i]='\0';
^
user.cpp:62:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux[i++]=c;
^
user.cpp:65:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux[i]='\0';
^
user.cpp:78:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (strcmp(path[i],path[j]) > 0)
^
user.cpp:78:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (strcmp(path[i],path[j]) > 0)
^
user.cpp:79:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
swap(path[i],path[j]);
^
user.cpp:79:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
swap(path[i],path[j]);
^
user.cpp:86:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(out,"%s\n",path[i]);
^
user.cpp:48:17: warning: unused variable ‘min’ [-Wunused-variable]
int files=0,min;
^
user.cpp:74:5: warning: unused variable ‘k’ [-Wunused-variable]
int k;
^
user.cpp:46:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dir.in","r",stdin);
^
user.cpp:54:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
user.cpp:63:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 300kb | OK | 10 |
7 | 0ms | 304kb | OK | 10 |
8 | 0ms | 296kb | OK | 10 |
9 | 0ms | 288kb | OK | 10 |
10 | 0ms | 276kb | OK | 10 |
Punctaj total | 100 |