Pagini recente » Borderou de evaluare (job #483520) | Borderou de evaluare (job #2203853) | Borderou de evaluare (job #290565) | Borderou de evaluare (job #1929331) | Borderou de evaluare (job #2145128)
Borderou de evaluare (job #2145128)
Raport evaluator
Compilare:
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pietre3.in","r",stdin);
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pietre3.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);//f >> n;
^
user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",v + i);//f >> v[i];
^
user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);//f >> k;
^
user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);//f >> x;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 4912kb | OK | 10 |
2 | 0ms | 4912kb | OK | 10 |
3 | 24ms | 5264kb | OK | 10 |
4 | 8ms | 5060kb | OK | 10 |
5 | 0ms | 4912kb | OK | 10 |
6 | 20ms | 4976kb | OK | 10 |
7 | 40ms | 5064kb | OK | 10 |
8 | 40ms | 5064kb | OK | 10 |
9 | 28ms | 4912kb | OK | 10 |
10 | 0ms | 4908kb | OK | 10 |
Punctaj total | 100 |