Pagini recente » Borderou de evaluare (job #802618) | Borderou de evaluare (job #2491316) | Borderou de evaluare (job #1103992) | Borderou de evaluare (job #2947092) | Borderou de evaluare (job #2229494)
Borderou de evaluare (job #2229494)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",m==1000000000000?-1:m);
^
user.cpp:5:95: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitagora2.in","r",stdin),freopen("pitagora2.out","w",stdout),scanf("%d",&n),r=n*n;
^
user.cpp:5:95: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:5:95: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 872kb | OK | 10 | 0 |
| 2 | 0ms | 864kb | Incorect | 0 |
| 3 | 0ms | 872kb | Incorect | 0 |
| 4 | 0ms | 936kb | Incorect | 0 |
| 5 | 0ms | 936kb | Incorect | 0 |
| 6 | 0ms | 816kb | Incorect | 0 |
| 7 | 0ms | 872kb | Incorect | 0 |
| 8 | 0ms | 756kb | Incorect | 0 |
| 9 | 0ms | 796kb | Incorect | 0 |
| 10 | 4ms | 860kb | Incorect | 0 |
| Punctaj total | 0 |