Pagini recente » Borderou de evaluare (job #919808) | Borderou de evaluare (job #1790072) | Borderou de evaluare (job #3199964) | Borderou de evaluare (job #2441753) | Borderou de evaluare (job #1508393)
Borderou de evaluare (job #1508393)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(nr==n+1) printf("%d",(long long)i*i);
^
user.cpp:16:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.in","r",stdin);
^
user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 48ms | 1728kb | OK | 10 |
| 2 | 52ms | 1732kb | OK | 10 |
| 3 | 48ms | 1728kb | OK | 10 |
| 4 | 56ms | 1732kb | OK | 10 |
| 5 | 52ms | 1728kb | OK | 10 |
| 6 | 68ms | 1724kb | Incorect | 0 |
| 7 | 52ms | 1732kb | Incorect | 0 |
| 8 | 64ms | 1728kb | Incorect | 0 |
| 9 | 56ms | 1728kb | Incorect | 0 |
| 10 | 56ms | 1732kb | Incorect | 0 |
| Punctaj total | 50 |