Pagini recente » Borderou de evaluare (job #1041918) | Borderou de evaluare (job #1213426) | Borderou de evaluare (job #2944878) | Borderou de evaluare (job #2574906) | Borderou de evaluare (job #1280214)
Borderou de evaluare (job #1280214)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &t);
^
user.cpp:21:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &n, &p);
^
user.cpp:21:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:33:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", a);
^
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre4.in", "r", stdin);
^
user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre4.out", "w", stdout);
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:21:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 88ms | 6756kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |