Pagini recente » Cod sursa (job #285382) | Cod sursa (job #2662701) | Cod sursa (job #1848664) | Diferente pentru documentatie intre reviziile 8 si 9 | Borderou de evaluare (job #2020513)
Borderou de evaluare (job #2020513)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(int i=0;i<k;i++) scanf("%d",&a[i]);
^
user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("light2.in","r",stdin);
^
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("light2.out","w",stdout);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %d",&n,&k);
^
user.cpp:23:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=0;i<k;i++) scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | OK | 10 |
| 2 | 0ms | 452kb | OK | 10 |
| 3 | 0ms | 460kb | OK | 10 |
| 4 | 0ms | 460kb | OK | 10 |
| 5 | 0ms | 480kb | OK | 10 |
| 6 | 4ms | 512kb | OK | 10 |
| 7 | 200ms | 4548kb | OK | 10 |
| 8 | 292ms | 4544kb | OK | 10 |
| 9 | 1188ms | 19964kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 1324ms | 19964kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 80 |