Pagini recente » Cod sursa (job #677510) | Cod sursa (job #2890702) | Cod sursa (job #3240128) | Cod sursa (job #2150591) | Borderou de evaluare (job #1537126)
Borderou de evaluare (job #1537126)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",num);
^
user.cpp:62:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",rez);
^
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("2sah.in","r",stdin);
^
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("2sah.out","w",stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | Corect! | 2 |
| 2 | 0ms | 444kb | Corect! | 2 |
| 3 | 0ms | 440kb | Corect! | 2 |
| 4 | 0ms | 440kb | Corect! | 2 |
| 5 | 0ms | 440kb | Corect! | 2 |
| 6 | 0ms | 440kb | Corect! | 2 |
| 7 | 0ms | 444kb | Corect! | 2 |
| 8 | 0ms | 444kb | Corect! | 2 |
| 9 | 0ms | 436kb | Corect! | 2 |
| 10 | 0ms | 448kb | Corect! | 8 |
| 11 | 0ms | 448kb | Corect! | 8 |
| 12 | 8ms | 452kb | Corect! | 8 |
| 13 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 0ms | 436kb | Corect! | 2 |
| Punctaj total | 44 |