Pagini recente » Borderou de evaluare (job #1698626) | Borderou de evaluare (job #767658) | Borderou de evaluare (job #991374) | Borderou de evaluare (job #96927) | Borderou de evaluare (job #1870236)
Borderou de evaluare (job #1870236)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:12: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j;
^
user.cpp:20:6: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
int s=a[1].a, d=a[1].b;
^
user.cpp:14:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("int.in", "r", stdin);
^
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("int.out", "w", stdout);
^
user.cpp:16:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:17:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)scanf("%d%d", &a[i].a, &a[i].b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | Incorect | 0 |
2 | 0ms | 436kb | Incorect | 0 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 8ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 8ms | 512kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 444kb | Incorect | 0 |
7 | 8ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 8ms | 512kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 516kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 8ms | 516kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |