Pagini recente » Borderou de evaluare (job #1228553) | Cod sursa (job #3215050) | Cod sursa (job #2196709) | Borderou de evaluare (job #3227454) | Borderou de evaluare (job #1311814)
Borderou de evaluare (job #1311814)
Raport evaluator
Compilare:
user.cpp: In function ‘void calculeaza(int)’:
user.cpp:14:23: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
int st,dr,sus,jos,r;
^
user.cpp: In function ‘int main()’:
user.cpp:42:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("banana.in","r",stdin);
^
user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("banana.out","w",stdout);
^
user.cpp:44:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&nr,&k);
^
user.cpp:47:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 352kb | OK | 10 |
| 2 | 0ms | 1504kb | OK | 10 |
| 3 | 0ms | 1536kb | OK | 10 |
| 4 | 4ms | 992kb | OK | 10 |
| 5 | 4ms | 656kb | OK | 10 |
| 6 | 8ms | 1084kb | OK | 10 |
| 7 | 8ms | 540kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 8ms | 1492kb | OK | 10 |
| 9 | 20ms | 7880kb | Incorect | 0 |
| 10 | 8ms | 1392kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 70 |