Pagini recente » Atasamentele paginii Profil crescent_jicol | Borderou de evaluare (job #3004356) | Borderou de evaluare (job #1372392) | Borderou de evaluare (job #3261780) | Borderou de evaluare (job #1764306)
Borderou de evaluare (job #1764306)
Raport evaluator
Compilare:
user.cpp: In function ‘int count(char*, int)’:
user.cpp:55:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(number); i++)
^
user.cpp:62:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(number[i] == '1' || i == strlen(number) - 1)
^
user.cpp: In function ‘int main()’:
user.cpp:78:7: warning: unused variable ‘line’ [-Wunused-variable]
char line[1500];
^
user.cpp:86:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int T; scanf("%d", &T);
^
user.cpp:90:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s", &k, number);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 840ms | 8420kb | Incorect | 0 |
| Punctaj total | 0 |