Pagini recente » Borderou de evaluare (job #599797) | Borderou de evaluare (job #343282) | Borderou de evaluare (job #810889) | Borderou de evaluare (job #785453) | Borderou de evaluare (job #1677339)
Borderou de evaluare (job #1677339)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:94:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3010]’ [-Wformat=]
scanf("%s", &str);
^
user.cpp:105:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3010]’ [-Wformat=]
scanf("%s", &word);
^
user.cpp:85:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.in", "r", stdin);
^
user.cpp:88:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:94:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &str);
^
user.cpp:101:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:105:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &word);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 156ms | 848kb | Incorect | 0 |
Punctaj total | 0 |