Pagini recente » Borderou de evaluare (job #2245345) | Borderou de evaluare (job #2307580) | Borderou de evaluare (job #1450318) | Borderou de evaluare (job #1747525) | Borderou de evaluare (job #1866587)
Borderou de evaluare (job #1866587)
Raport evaluator
Compilare:
user.cpp: In function ‘int suma(int)’:
user.cpp:9:15: warning: unused variable ‘x1’ [-Wunused-variable]
int sum=0,x1=x,putere=1;
^
user.cpp: In function ‘void adauga(int, int)’:
user.cpp:22:18: warning: unused variable ‘x1’ [-Wunused-variable]
int putere=1,x1=x;
^
user.cpp: In function ‘int main()’:
user.cpp:34:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in","r",stdin);
^
user.cpp:35:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out","w",stdout);
^
user.cpp:38:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&m);
^
user.cpp:42:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&a);
^
user.cpp:48:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&a);
^
user.cpp:51:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&x,&y);
^
user.cpp:56:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&x,&y);
^
user.cpp:61:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 8ms | 284kb | OK | 10 |
| 4 | 40ms | 360kb | OK | 10 |
| 5 | 104ms | 404kb | OK | 10 |
| 6 | 156ms | 516kb | OK | 10 |
| 7 | 172ms | 600kb | OK | 10 |
| 8 | 256ms | 656kb | OK | 10 |
| 9 | 244ms | 652kb | OK | 10 |
| 10 | 256ms | 652kb | OK | 10 |
| Punctaj total | 100 |