Pagini recente » Borderou de evaluare (job #2307746) | Borderou de evaluare (job #892503) | Borderou de evaluare (job #305555) | Borderou de evaluare (job #1145103) | Borderou de evaluare (job #1962160)
Borderou de evaluare (job #1962160)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",1LL*ans*ans);
^
user.cpp:21:11: warning: unused variable ‘i’ [-Wunused-variable]
int n,i,ans=0,sol=0;
^
user.cpp:19: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:20: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:22: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 | 0ms | 1028kb | OK | 10 |
2 | 0ms | 1024kb | OK | 10 |
3 | 0ms | 1028kb | OK | 10 |
4 | 0ms | 1028kb | OK | 10 |
5 | 0ms | 1020kb | OK | 10 |
6 | 0ms | 1020kb | Incorect | 0 |
7 | 0ms | 1024kb | Incorect | 0 |
8 | 0ms | 1028kb | Incorect | 0 |
9 | 0ms | 1020kb | Incorect | 0 |
10 | 4ms | 984kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 50 |