Pagini recente » Borderou de evaluare (job #1043611) | Cod sursa (job #1756548) | Borderou de evaluare (job #3139386) | Borderou de evaluare (job #2687411) | Borderou de evaluare (job #1196187)
Borderou de evaluare (job #1196187)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a);
^
user.cpp:12:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&v,&n);
^
user.cpp:12:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:16:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",s);
^
user.cpp:5:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresii2.in","r",stdin);
^
user.cpp:6:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresii2.out","w",stdout);
^
user.cpp:7:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v,&n);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| ✓ | 1 | 0ms | 256kb | Incorect | 0 |
| ✗ | 2 | 0ms | 256kb | Incorect | 0 |
| ✗ | 3 | 0ms | 256kb | OK | 10 |
| ✓ | 4 | 96ms | 252kb | Incorect | 0 |
| ✗ | 5 | 92ms | 260kb | Incorect | 0 |
| ✗ | 6 | 100ms | 260kb | Incorect | 0 |
| ✗ | 7 | 104ms | 252kb | Incorect | 0 |
| ✗ | 8 | 108ms | 256kb | Incorect | 0 |
| ✗ | 9 | 100ms | 256kb | Incorect | 0 |
| ✗ | 10 | 100ms | 260kb | Incorect | 0 |
| Punctaj total | 10 |