Pagini recente » Borderou de evaluare (job #1896667) | Borderou de evaluare (job #871277) | Borderou de evaluare (job #1593763) | Borderou de evaluare (job #295342) | Borderou de evaluare (job #1289366)
Borderou de evaluare (job #1289366)
Raport evaluator
Compilare:
user.cpp: In function ‘int caut(int, int)’:
user.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:38:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.in","r",stdin);
^
user.cpp:39:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.out","w",stdout);
^
user.cpp:40:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&p);
^
user.cpp:42:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=p;i++)scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 0 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 252kb | OK | 10 | 20 |
4 | 0ms | 260kb | OK | 10 |
5 | 28ms | 588kb | OK | 10 | 0 |
6 | 24ms | 584kb | Incorect | 0 |
7 | 260ms | 3080kb | OK | 10 | 0 |
8 | 228ms | 3076kb | OK | 10 |
9 | 236ms | 3072kb | OK | 10 |
10 | 240ms | 3076kb | Incorect | 0 |
Punctaj total | 20 |