Pagini recente » Borderou de evaluare (job #2900483) | Borderou de evaluare (job #2317953) | Borderou de evaluare (job #123325) | Borderou de evaluare (job #1461854) | Borderou de evaluare (job #2399624)
Borderou de evaluare (job #2399624)
Raport evaluator
Compilare:
main.cpp: In function 'void conversie(int*, int)':
main.cpp:11:24: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument]
memset(a,0,sizeof(a));
^
main.cpp:9:29: note: declared here
inline void conversie(int a[],int x)
^
main.cpp:11:22: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(a,0,sizeof(a));
^
main.cpp: In function 'void scadere(int*, int*)':
main.cpp:34:9: warning: unused variable 'i' [-Wunused-variable]
int i,t=0;
^
main.cpp: In function 'void inmultire(int*, int*)':
main.cpp:48:13: warning: unused variable 'i' [-Wunused-variable]
int t=0,i,j;
^
main.cpp: In function 'int main()':
main.cpp:124:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sqrt.in","r",stdin);
^
main.cpp:125:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sqrt.out","w",stdout);
^
main.cpp:127:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 18ms | 1703kb | OK | 10 |
| 2 | 40ms | 1703kb | OK | 10 |
| 3 | 79ms | 1703kb | OK | 10 |
| 4 | 101ms | 1703kb | Time limit exceeded | 0 |
| 5 | 100ms | 1703kb | Time limit exceeded | 0 |
| 6 | 101ms | 1703kb | Time limit exceeded | 0 |
| 7 | 100ms | 1703kb | Time limit exceeded | 0 |
| 8 | 100ms | 1703kb | Time limit exceeded | 0 |
| 9 | 101ms | 1703kb | Time limit exceeded | 0 |
| 10 | 101ms | 1703kb | Time limit exceeded | 0 |
| Punctaj total | 30 |