Pagini recente » Borderou de evaluare (job #2776742) | Borderou de evaluare (job #887605) | Borderou de evaluare (job #45515) | Borderou de evaluare (job #326019) | Borderou de evaluare (job #2252538)
Borderou de evaluare (job #2252538)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d %d", (v + i) -> st, (v + i) -> dr);
^
user.cpp:24:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
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:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:24:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", (v + i) -> st, (v + i) -> dr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1344kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |