Pagini recente » Borderou de evaluare (job #868473) | Borderou de evaluare (job #2197518) | Borderou de evaluare (job #334762) | Borderou de evaluare (job #39947) | Borderou de evaluare (job #1369456)
Borderou de evaluare (job #1369456)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:9: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,j,max=0,a,b;
^
user.cpp:4:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("furnici.in","r",stdin);
^
user.cpp:5:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("furnici.out","w",stdout);
^
user.cpp:8:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&n);
^
user.cpp:10:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d%c%c",&b,&c,&dir);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 244kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 248kb | OK | 10 |
5 | 0ms | 248kb | OK | 10 |
6 | 8ms | 244kb | OK | 10 |
7 | 8ms | 248kb | OK | 10 |
8 | 16ms | 244kb | OK | 10 |
9 | 24ms | 248kb | OK | 10 |
10 | 32ms | 244kb | OK | 10 |
Punctaj total | 100 |