Pagini recente » Cod sursa (job #2519547) | Cod sursa (job #2509114) | Clasament realdeal | Cod sursa (job #2510997) | Borderou de evaluare (job #1187029)
Borderou de evaluare (job #1187029)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:8: warning: variable ‘turn’ set but not used [-Wunused-but-set-variable]
bool turn ;
^
user.cpp:30:6: warning: unused variable ‘curp’ [-Wunused-variable]
int curp = 1;
^
user.cpp:31:6: warning: unused variable ‘nrofp’ [-Wunused-variable]
int nrofp = 0;
^
user.cpp:22:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc18.in","r",stdin);
^
user.cpp:23:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc18.out","w",stdout);
^
user.cpp:25:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:36:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:42:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 2332kb | Time limit exceeded. | 0 |
Punctaj total | 0 |