Pagini recente » Borderou de evaluare (job #2334841) | Borderou de evaluare (job #2391779) | Borderou de evaluare (job #2955845) | Borderou de evaluare (job #609392) | Borderou de evaluare (job #2069739)
Borderou de evaluare (job #2069739)
Raport evaluator
Compilare:
user.cpp: In function ‘long int calc(long int, long int)’:
user.cpp:7:24: warning: operation on ‘b’ may be undefined [-Wsequence-point]
if(a<b) a=b+a-(b=a);
^
user.cpp: In function ‘int main()’:
user.cpp:22:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere.in","r",stdin);
^
user.cpp:23:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere.out","w",stdout);
^
user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:27:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 264kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 |
| 5 | 0ms | 264kb | OK | 10 |
| 6 | 0ms | 264kb | OK | 10 |
| 7 | 0ms | 264kb | OK | 10 |
| 8 | 0ms | 264kb | OK | 10 |
| 9 | 0ms | 260kb | OK | 10 |
| 10 | 0ms | 268kb | OK | 10 |
| Punctaj total | 100 |