Pagini recente » Borderou de evaluare (job #1861244) | Borderou de evaluare (job #1691522) | Borderou de evaluare (job #3201514) | Borderou de evaluare (job #2515318) | Borderou de evaluare (job #1406472)
Borderou de evaluare (job #1406472)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:54:35: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10009]’ [-Wformat=]
scanf("%s %s %s", &s, &st, &dr);
^
user.cpp:54:35: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10009]’ [-Wformat=]
user.cpp:54:35: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[10009]’ [-Wformat=]
user.cpp:93:23: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%i\n", sum);
^
user.cpp:54:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s %s", &s, &st, &dr);
^
user.cpp: In function ‘int main()’:
user.cpp:107:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.in", "r", stdin);
^
user.cpp:108:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.out", "w", stdout);
^
user.cpp:110:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 592kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |