Pagini recente » Borderou de evaluare (job #1373567) | Borderou de evaluare (job #2813443) | Borderou de evaluare (job #1472277) | Borderou de evaluare (job #2917355) | Borderou de evaluare (job #1341855)
Borderou de evaluare (job #1341855)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bacterii2.in", "r", stdin);
^
user.cpp:52:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bacterii2.out", "w", stdout);
^
user.cpp:55:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:59:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &na);gra = 0;for(int i=1; i<=na; i++){scanf("%d", &x); vfa[x]++;if(x>gra) gra=x;}
^
user.cpp:59:74: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &na);gra = 0;for(int i=1; i<=na; i++){scanf("%d", &x); vfa[x]++;if(x>gra) gra=x;}
^
user.cpp:60:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nb);grb = 0;for(int i=1; i<=nb; i++){scanf("%d", &x); vfb[x]++;if(x>grb) grb=x;}
^
user.cpp:60:74: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nb);grb = 0;for(int i=1; i<=nb; i++){scanf("%d", &x); vfb[x]++;if(x>grb) grb=x;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 11524kb | Time limit exceeded. | 0 |
Punctaj total | 0 |