Pagini recente » Cod sursa (job #3340655) | Cod sursa (job #394435) | Borderou de evaluare (job #2442107) | Monitorul de evaluare | Borderou de evaluare (job #1392221)
Borderou de evaluare (job #1392221)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&M);
^
user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:27:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp: In function ‘int main()’:
user.cpp:107:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesearch.in","r",stdin);
^
user.cpp:108:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesearch.out","w",stdout);
^
user.cpp:118:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&xx);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1492kb | OK | 10 |
| 2 | 0ms | 1512kb | OK | 10 |
| 3 | 4ms | 1572kb | OK | 10 |
| 4 | 8ms | 1728kb | OK | 10 |
| 5 | 16ms | 1888kb | OK | 10 |
| 6 | 44ms | 2452kb | OK | 10 |
| 7 | 100ms | 3408kb | OK | 10 |
| 8 | 148ms | 4176kb | OK | 10 |
| 9 | 208ms | 4940kb | OK | 10 |
| 10 | 236ms | 5300kb | OK | 10 |
| Punctaj total | 100 |