Pagini recente » Borderou de evaluare (job #1952055) | Borderou de evaluare (job #2424257) | Borderou de evaluare (job #1518797) | Borderou de evaluare (job #1432475) | Borderou de evaluare (job #1319813)
Borderou de evaluare (job #1319813)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:13: warning: unused variable ‘k’ [-Wunused-variable]
int n,i,k=0,aux;
^
user.cpp:31:17: warning: unused variable ‘aux’ [-Wunused-variable]
int n,i,k=0,aux;
^
user.cpp: In function ‘int cmp(const int&, const int&)’:
user.cpp:25:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirsort.in","r",stdin);
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirsort.out","w",stdout);
^
user.cpp:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 20 |
| 2 | 0ms | 268kb | OK | 20 |
| 3 | 24ms | 304kb | OK | 20 |
| 4 | 296ms | 656kb | OK | 20 |
| 5 | 300ms | 660kb | OK | 20 |
| Punctaj total | 100 |