Pagini recente » Borderou de evaluare (job #2136183) | Borderou de evaluare (job #65892) | Borderou de evaluare (job #394012) | Borderou de evaluare (job #1664217) | Borderou de evaluare (job #1243815)
Borderou de evaluare (job #1243815)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc14.in","r",stdin);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc14.out","w",stdout);
^
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&num);
^
user.cpp:10:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(num==1) scanf("%d%d",&x1,&y1);
^
user.cpp:11:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else if(num==2) scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 0ms | 252kb | OK | 10 |
6 | 0ms | 256kb | Incorect | 0 |
7 | 0ms | 252kb | OK | 10 |
8 | 0ms | 260kb | OK | 10 |
9 | 8ms | 252kb | OK | 10 |
10 | 8ms | 256kb | Incorect | 0 |
Punctaj total | 80 |