Pagini recente » Borderou de evaluare (job #2796797) | Borderou de evaluare (job #702422) | Borderou de evaluare (job #1760808) | Borderou de evaluare (job #2050827) | Borderou de evaluare (job #1837474)
Borderou de evaluare (job #1837474)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(a)-1;)
^
user.cpp:61:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[x++]=a[i++];
^
user.cpp:62:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[x]='\0';
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta2.in", "r", stdin);
^
user.cpp:40:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta2.out", "w", stdout);
^
user.cpp:42:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(a, Nmax, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 408kb | OK! | 10 |
2 | 0ms | 412kb | OK! | 10 |
3 | 0ms | 408kb | Raspuns Gresit | 0 |
4 | 0ms | 412kb | Raspuns Gresit | 0 |
5 | 0ms | 412kb | OK! | 10 |
6 | 0ms | 408kb | Afisarea Ingredientelor gresita | 3 |
7 | 0ms | 404kb | Afisarea Ingredientelor gresita | 3 |
8 | 0ms | 408kb | Raspuns Gresit | 0 |
9 | 0ms | 404kb | Raspuns Gresit | 0 |
10 | 0ms | 412kb | Raspuns Gresit | 0 |
Punctaj total | 36 |